summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 22cbf08..41fe99e 100644
--- a/ui.js
+++ b/ui.js
@@ -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))