diff --git a/script/game.js b/script/game.js index c3bec26..b6f656c 100644 --- a/script/game.js +++ b/script/game.js @@ -330,6 +330,10 @@ function interact() { if (!punching) { punching = true; interact_interval = setInterval(interaction_animation, 1000/fps, Date.now()); + server.send(JSON.stringify({ + "type": "interact", + "data": undefined + })); } }