From a8874fde796f8fa563a8a80aa429f3a7c40eec44 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 25 Oct 2024 13:14:16 +0100 Subject: Added power_card action --- play.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'play.js') 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(); + } + } } } -- cgit v1.2.3