summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-07-12 22:19:35 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-12 22:19:35 +0200
commit3ee3422b88c21f4ccd9b78f0194f3cc6012755a7 (patch)
tree0585faf41b7337b4ad5319759b73f53ca5acc201
parent7a51cb9add43c5e87e5ff685ab2800976629e122 (diff)
downloadtime-of-crisis-3ee3422b88c21f4ccd9b78f0194f3cc6012755a7.tar.gz
Fix typo in mob growth.
-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()
},