summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 998ac09..ecddd49 100644
--- a/rules.js
+++ b/rules.js
@@ -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