diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/common/client.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/common/client.js b/public/common/client.js index 4aea900..d179d94 100644 --- a/public/common/client.js +++ b/public/common/client.js @@ -425,14 +425,17 @@ function send_action(verb, noun) { game.actions = null; console.log("SEND ACTION", verb, noun); socket.emit('action', verb, noun); + return true; } } else { if (game.actions && game.actions[verb]) { game.actions = null; console.log("SEND ACTION", verb, noun); socket.emit('action', verb); + return true; } } + return false; } function send_save() { |