summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui.js b/ui.js
index 2cfbfca..3f5763b 100644
--- a/ui.js
+++ b/ui.js
@@ -654,12 +654,12 @@ function update_battle() {
ui.battle_menu[block].classList.add('storm');
if (game.actions && game.actions.sally && game.actions.sally.includes(block))
ui.battle_menu[block].classList.add('sally');
- if (game.actions && game.actions.hit && game.actions.hit.includes(block))
- ui.battle_menu[block].classList.add('hit');
if (game.actions && game.actions.charge && game.actions.charge.includes(block))
ui.battle_menu[block].classList.add('charge');
if (game.actions && game.actions.treachery && game.actions.treachery.includes(block))
ui.battle_menu[block].classList.add('treachery');
+ if (game.actions && game.actions.hit && game.actions.hit.includes(block))
+ ui.battle_menu[block].classList.add('hit');
let class_name = battle_block_class_name(BLOCKS[block]);
if (game.actions && game.actions.block && game.actions.block.includes(block))