summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
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()
},