summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/ui.js b/ui.js
index 2ba20db..12c2eb7 100644
--- a/ui.js
+++ b/ui.js
@@ -535,13 +535,13 @@ function update_ui() {
e.classList.remove("selected");
}
-function on_destroy() { if (game.actions) { send_action('destroy', null); } }
-function on_battle() { if (game.actions) { send_action('battle', null); } }
-function on_build() { if (game.actions) { send_action('build', null); } }
-function on_draw() { if (game.actions) { send_action('draw', null); } }
-function on_next() { if (game.actions) { send_action('next', null); } }
-function on_pass() { if (game.actions) { send_action('pass', null); } }
-function on_undo() { if (game.actions) { send_action('undo', null); } }
+function on_destroy() { if (game.actions) { send_action('destroy'); } }
+function on_battle() { if (game.actions) { send_action('battle'); } }
+function on_build() { if (game.actions) { send_action('build'); } }
+function on_draw() { if (game.actions) { send_action('draw'); } }
+function on_next() { if (game.actions) { send_action('next'); } }
+function on_pass() { if (game.actions) { send_action('pass'); } }
+function on_undo() { if (game.actions) { send_action('undo'); } }
let current_popup_card = 0;