summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-26 07:55:38 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-10-26 07:55:38 +0100
commita651d28999accf0c18476b322a47ea5ebf031aef (patch)
treea14cbd04990d77feb43e32033eab57d058b22ade /play.js
parent04f3fce657af20407eb0e640d925e0fe79913aac (diff)
download1989-dawn-of-freedom-a651d28999accf0c18476b322a47ea5ebf031aef.tar.gz
Switch to single space action
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index 5ccf136..b2500ba 100644
--- a/play.js
+++ b/play.js
@@ -183,7 +183,7 @@ function on_click_space(evt) {
if (evt.button === 0) {
const space = evt.target.my_space;
//console.log('on_click_space_called with space:', space);
- if (send_action('infl', space)) {
+ if (send_action('space', space)) {
//console.log('send_action with infl:', space);
evt.stopPropagation();
} else if (send_action('sc', space)) {