From 733593874f548a4514bcb96ef0126976ca682e40 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 9 May 2022 22:15:34 +0200 Subject: Fix game over trigger. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index 8877045..b39978f 100644 --- a/rules.js +++ b/rules.js @@ -2669,10 +2669,10 @@ function do_dominance_check() { // Check instant victory let vps = game.players.map((pp,i) => pp.vp).sort((a,b)=>b-a); if (vps[0] >= vps[1] + 4) - goto_game_over(); + return goto_game_over(); if (final) - goto_game_over(); + return goto_game_over(); game.events = {}; for (let p = 0; p < game.players.length; ++p) -- cgit v1.2.3