diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-05-29 15:39:51 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-29 15:39:51 +0200 |
commit | b5e5d8ff63e273e7be4f93e1f3721252607661aa (patch) | |
tree | 15b57391fa136bb4d7f6874ce5958d4ddb520188 | |
parent | b97c266b0fee948846814965e83bda1cfbe50694 (diff) | |
download | red-flag-over-paris-b5e5d8ff63e273e7be4f93e1f3721252607661aa.tar.gz |
Fix victory check.
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2407,9 +2407,9 @@ function goto_final_victory() { log_br() - if (versailles_military_vp() >= commune_political_vp()) + if (versailles_military_vp() >= 0 && versailles_military_vp() > commune_political_vp()) return goto_game_over(VERSAILLES, "Versailles won with Military VP!") - if (commune_political_vp() >= versailles_military_vp()) + if (commune_political_vp() >= 0 && commune_political_vp() > versailles_military_vp()) return goto_game_over(COMMUNE, "Commune won with Political VP!") let v = 0 |