summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-03 00:14:13 +0100
committerTor Andersson <tor@ccxvii.net>2023-01-03 00:14:13 +0100
commit2255fd0a4bfa61e164c07952127f0f43a6ffe2eb (patch)
treee1bf12e3f626a93117b0f36384265863c93d8815
parent75489ebdb579b01122855d4dfa2a767be6574d51 (diff)
downloadrommel-in-the-desert-2255fd0a4bfa61e164c07952127f0f43a6ffe2eb.tar.gz
Fix victory!
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 654ec9d..ed62d77 100644
--- a/rules.js
+++ b/rules.js
@@ -6452,7 +6452,7 @@ function end_game() {
if (axis >= allied * 2)
return goto_game_over(AXIS, "Axis Decisive Victory!")
if (allied >= axis * 2)
- return goto_game_over(AXIS, "Allied Decisive Victory!")
+ return goto_game_over(ALLIED, "Allied Decisive Victory!")
if (!is_fortress_besieged(TOBRUK)) {
if (is_fortress_axis_controlled(TOBRUK))