diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-08-16 02:22:13 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-08-16 02:22:13 +0200 |
commit | 573230ef924331c87eb5111b7ad7af799f1c64ee (patch) | |
tree | 0b4632bb41ff7807efb107388de187f2f60e7003 | |
parent | a6020e102f5a5a431abd874a7f76707ba20affb1 (diff) | |
download | field-cloth-gold-573230ef924331c87eb5111b7ad7af799f1c64ee.tar.gz |
Fix victory check.
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1141,7 +1141,7 @@ function goto_victory() { if (victory_check(game.red_score, game.blue_score)) if (victory_check(count_tiles(game.red_court, TILE_WHITE), count_tiles(game.blue_court, TILE_WHITE))) - if (victory_check(game.red_court.length), game.blue_court.length) + if (victory_check(game.red_court.length, game.blue_court.length)) goto_game_over("Shared", "The two majesties do share victory!") } |