diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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) } |