KMadCandy
giggling permanoob
using patch 3.13 an AP resolution popped up and i thought it was for resident and voted for myself. oops, it was for Religious Leader, and i accidentally won the game. but i won with only my own votes. i didn't screenshot the victory line, but it did count as a victory.
my guess at what happened is based on this understanding: ever since vanilla, UN resolutions (so now AP resolutions as well) are proposed (and votes are cast) at the very beginning of turn X. turn X proceeds as normal, and the votes are not counted until the in-between-turn, after cities done their thing, including growing or shrinking in population if applicable. so the results are based on population counts in turn X+1. that couldn't lead to cases like this because resolutions were legal no matter which totals were used.
i won by only a single vote. the patch list says "Can't vote on a winner if one team already has all the votes necessary to win"; the pedia doesn't mention it afaik. when the resolution was chosen and we cast votes, situation was "my pop < threshold" so the vote was legal. but changes between turn X and turn X+1 (some combination of pop increase in my cities and decrease in their cities) put me over the threshold when results were counted.
reading it as "vote = cast your votes", this game followed the letter of the rule change and isn't strictly a bug. but it skirts around the spirit of the rule change. this would come up very rarely (i've seen it referenced one other time on the boards). if "vote = results of the vote counts", tallying votes based on "population counts at the moment the votes were cast" or another new threshold check to invalidate these results would work i think. whether those are possible, i have no clue.
i suppose it might also come up if a civ has only one city with the AP religion and loses that city before votes are counted, breaking the "every civ has to have a city with it" rule. i have turned an AP full member into a non-member that way, but never on a turn where any resolution was waiting in the ballot box. my case allowed "holy war on the infidels" to pop up next turn, while the infidels had the AP religion as their state religion. that was fun!
i don't really care one way or the other. rules-lawyering it's not technically a "bug" as written in the patch list. more like poor implementation of what the change was intended to fix, i suppose. it was a surprise to me and i'm just throwing it out there as food for thought.

my guess at what happened is based on this understanding: ever since vanilla, UN resolutions (so now AP resolutions as well) are proposed (and votes are cast) at the very beginning of turn X. turn X proceeds as normal, and the votes are not counted until the in-between-turn, after cities done their thing, including growing or shrinking in population if applicable. so the results are based on population counts in turn X+1. that couldn't lead to cases like this because resolutions were legal no matter which totals were used.
i won by only a single vote. the patch list says "Can't vote on a winner if one team already has all the votes necessary to win"; the pedia doesn't mention it afaik. when the resolution was chosen and we cast votes, situation was "my pop < threshold" so the vote was legal. but changes between turn X and turn X+1 (some combination of pop increase in my cities and decrease in their cities) put me over the threshold when results were counted.
reading it as "vote = cast your votes", this game followed the letter of the rule change and isn't strictly a bug. but it skirts around the spirit of the rule change. this would come up very rarely (i've seen it referenced one other time on the boards). if "vote = results of the vote counts", tallying votes based on "population counts at the moment the votes were cast" or another new threshold check to invalidate these results would work i think. whether those are possible, i have no clue.
i suppose it might also come up if a civ has only one city with the AP religion and loses that city before votes are counted, breaking the "every civ has to have a city with it" rule. i have turned an AP full member into a non-member that way, but never on a turn where any resolution was waiting in the ballot box. my case allowed "holy war on the infidels" to pop up next turn, while the infidels had the AP religion as their state religion. that was fun!
i don't really care one way or the other. rules-lawyering it's not technically a "bug" as written in the patch list. more like poor implementation of what the change was intended to fix, i suppose. it was a surprise to me and i'm just throwing it out there as food for thought.