diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-09-01 21:40:06 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-09-01 21:40:06 +0200 |
commit | 49981ea36f5b37325cc42f82ac34dde3e241ed57 (patch) | |
tree | 4e016cd586cbd14a411a345ed6e6cbb734b6316f /rules.js | |
parent | 45cc295ecbbf5f1562897ab32e68fb3763ba3c86 (diff) | |
download | nevsky-49981ea36f5b37325cc42f82ac34dde3e241ed57.tar.gz |
Fix bug with Warrior Monks and Garrison.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9109,7 +9109,7 @@ function remove_serf(lord) { } function use_warrior_monks(lord, type) { - if (type === KNIGHTS) { + if (type === KNIGHTS && lord !== GARRISON) { let bit = 1 << lord if (game.battle.warrior_monks & bit) { game.battle.warrior_monks ^= bit |