diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-09-18 12:24:02 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:42:59 +0100 |
commit | 7c574f145adc4973fbc3d27595c71b021e881b5d (patch) | |
tree | 9e6c56463c03807a59812c367e1d6c2d64b73781 | |
parent | 80dab0a5e489aed34f1a6078544a76d60e78ab09 (diff) | |
download | 300-earth-and-water-7c574f145adc4973fbc3d27595c71b021e881b5d.tar.gz |
300: Fix 'result' naming after game is over.
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3119,10 +3119,10 @@ function end_campaign() { if (game.campaign === 5) { if (game.vp < 0) { game.victory = $("Greece wins with " + (-game.vp) + " points."); - game.result = "Greek"; + game.result = GREECE; } else if (game.vp > 0) { game.victory = $("Persia wins with " + game.vp + "points."); - game.result = "Persian"; + game.result = PERSIA; } else { game.victory = "Nobody wins."; game.result = "Tie"; |