From 5da1482d5a71aa094eb90bb86a902bdd380e9227 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 28 Dec 2022 01:00:47 +0100 Subject: Flip flop. --- play.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index 4d93876..b300233 100644 --- a/play.js +++ b/play.js @@ -1425,10 +1425,8 @@ function on_update() { ui.battle_panel.classList.remove("hide") ui.battle_header.textContent = "~ Battle at " + data.locales[view.battle.where].name + " ~" if (view.battle.attacker === player) { - ui.battle_mat.className = "attacker" ui.battle_grid.className = "attacker" } else { - ui.battle_mat.className = "defender" ui.battle_grid.className = "defender" } update_battle() -- cgit v1.2.3