summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-02-14 01:32:27 +0100
committerTor Andersson <tor@ccxvii.net>2025-02-14 01:32:27 +0100
commitc1039040ad1565968456b8c42d668c2624104ca9 (patch)
treee7a1351c857519b2dd470a552ce3f19e4bd85368 /play.js
parent5fe3d8b1242697b16078f0b1a1a12abded88a732 (diff)
downloadpax-pamir-c1039040ad1565968456b8c42d668c2624104ca9.tar.gz
Remove unused view.active property.HEADmaster
Diffstat (limited to 'play.js')
-rw-r--r--play.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/play.js b/play.js
index c27c480..3da3b63 100644
--- a/play.js
+++ b/play.js
@@ -838,7 +838,6 @@ function on_update() {
ui.player[p].role.classList.toggle("Afghan", view.players[p].loyalty == "Afghan")
ui.player[p].role.classList.toggle("British", view.players[p].loyalty == "British")
ui.player[p].role.classList.toggle("Russian", view.players[p].loyalty == "Russian")
- ui.player[p].role.classList.toggle("active", p === player_index[view.active])
let a = ""
if (is_player_action(p))