From 3ee3422b88c21f4ccd9b78f0194f3cc6012755a7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 12 Jul 2023 22:19:35 +0200 Subject: Fix typo in mob growth. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index b7a55c3..27e14f9 100644 --- a/rules.js +++ b/rules.js @@ -5092,7 +5092,7 @@ states.grow_mobs = { push_undo() log("Mob grows in %" + where + ".") set_mobs(where, get_mobs(where) + 1) - game.count &= !(1 << where) + game.count &= ~(1 << where) if (game.count === 0) goto_flip_inactive_barbarians() }, -- cgit v1.2.3