From 89e5ffbe55fe1dc23c3ea5d580911ad4b48df750 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sat, 24 Mar 2018 21:35:26 +0100 Subject: [PATCH] Update: CC - Snake FS - Key Down (306204wy29.js) 82 bytes modified --- 306204wy29.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/306204wy29.js b/306204wy29.js index 12f2c43..fd64dd5 100644 --- a/306204wy29.js +++ b/306204wy29.js @@ -9,6 +9,13 @@ if (!this.initialized) { this.initialized = true; } +GameLib.Event.Emit( + GameLib.Event.PLAY_AUDIO, + { + name : 'Audio - Click' + } +); + if (this.state.turning) { console.warn('already turning - todo: store the input and play back'); return;