summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
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!")
}