diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-17 12:09:10 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:39 +0100 |
commit | 1db63047577a9711210155a56bccaeb06d8ec9b0 (patch) | |
tree | 51f27546b3a8a25a72ec29329c7bbf7f963077d7 /rules.js | |
parent | d7d82e5807dca189d58cea708281d154c5a435f0 (diff) | |
download | nevsky-1db63047577a9711210155a56bccaeb06d8ec9b0.tar.gz |
Fix conquering strongholds in friendly territory.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -8208,7 +8208,10 @@ function goto_sack() { flip_castle(here) remove_all_siege_markers(game.battle.where) - add_conquered_marker(game.battle.where) + if (is_friendly_territory(game.battle.where)) + add_conquered_marker(game.battle.where) + else + remove_conquered_marker(game.battle.where) remove_walls(game.battle.where) if (here === LOC_NOVGOROD) { |