You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When enacting the top card of the draw pile after three failed votes the winning conditions have to be checked. It might be the case that this law is the final one for either liberals or fascists. So a check like update.liberal == 5 || update.fascist == 6 needs to be added at the end of this code block.
This is the code for checking the winning condition after discarding law card when a vote has passed. The winning condition should be similar, thus this code could simply be reused.
When enacting the top card of the draw pile after three failed votes the winning conditions have to be checked. It might be the case that this law is the final one for either liberals or fascists. So a check like
update.liberal == 5 || update.fascist == 6
needs to be added at the end of this code block.secrethitler/server/voting.js
Lines 104 to 130 in 897be42
The text was updated successfully, but these errors were encountered: