From cd31730f82458a524da88786aca497cd22df890e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 13 Jan 2024 13:49:36 +0100 Subject: Check stacking limits during spread influence. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 6e88d90..4a0b178 100644 --- a/rules.js +++ b/rules.js @@ -2037,7 +2037,7 @@ states.spread_influence = { for_each_friendly_cube(s, gen_action_piece) } else { for (let s of dimension) - if (game.pieces[game.who] !== s) + if (game.pieces[game.who] !== s && count_friendly_cubes(s) < 4) gen_action_space(s) } view.actions.done = 1 -- cgit v1.2.3