summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/play.js b/play.js
index f0f4390..5ccf136 100644
--- a/play.js
+++ b/play.js
@@ -206,6 +206,11 @@ function on_click_card(evt) {
evt.stopPropagation();
}
}
+ if (is_action('power_card', card)) {
+ if (send_action('power_card', card)) {
+ evt.stopPropagation();
+ }
+ }
}
}