summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/play.js b/play.js
index d9f402a..a8f675c 100644
--- a/play.js
+++ b/play.js
@@ -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)