diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -231,17 +231,11 @@ function is_side_allied_supply_line(side) { } function is_hex_selected(hex) { + if (hex === view.pursuit || hex === view.battle) + return true return set_has(view.selected_hexes, hex) } -function is_hex_assault(hex) { - return set_has(view.assaults, hex) -} - -function is_hex_current(hex) { - return hex === view.pursuit || hex === view.battle -} - function focus_stack(stack) { if (ui.focus !== stack) { console.log("FOCUS STACK", stack) |