diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-07-22 11:34:27 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:19:39 +0100 |
commit | c5bd03c1c31830e027ff75134ad80f5e2a8caf84 (patch) | |
tree | ae75fa7063cd9494254831c9cdc6a9cbed1e0db9 /ui.js | |
parent | d29767d6c588c6ed049b9c62fe84cfbc05ce1b1e (diff) | |
download | crusader-rex-c5bd03c1c31830e027ff75134ad80f5e2a8caf84.tar.gz |
crusader: Fix bug in Jihad selection and display.
Enemy of null is null!
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -668,7 +668,7 @@ function update_battle() { class_name += " selected"; if (block === game.battle.halfhit) class_name += " halfhit"; - if (game.battle.jihad === block_owner(block)) + if (game.jihad === game.battle.town && block_owner(block) === game.p1) class_name += " jihad"; if (game.battle.sallying.includes(block)) |