From 573230ef924331c87eb5111b7ad7af799f1c64ee Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 16 Aug 2023 02:22:13 +0200 Subject: Fix victory check. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 96a9bad..9efcc19 100644 --- a/rules.js +++ b/rules.js @@ -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!") } -- cgit v1.2.3