summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/play.js b/play.js
index 6e734ac..6380b7b 100644
--- a/play.js
+++ b/play.js
@@ -208,7 +208,7 @@ function block_description(b) {
let c = BLOCKS[b].initiative + BLOCKS[b].firepower
let levy = BLOCKS[b].levy
if (levy)
- return BLOCKS[b].name + " (" + levy + ") " + STEPS[s] + "-" + c
+ return BLOCKS[b].name + " (" + SPACES[levy].name + ") " + STEPS[s] + "-" + c
return BLOCKS[b].name + " " + STEPS[s] + "-" + c
}
return block_owner(b)
@@ -303,9 +303,7 @@ function on_click_battle_pass(evt) {
function on_click_map_block(evt) {
let b = evt.target.block
let s = view.location[b]
- if (view.actions && view.actions.secret && view.actions.secret.includes(s))
- send_action('secret', [s, block_color(b)])
- else if (!view.battle)
+ if (!view.battle)
send_action('block', b)
}