From 42b802d7f0ca9c8473f13b6609ca0d29b5dd3eb4 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 15 Mar 2018 13:07:28 +0100 Subject: [PATCH] Update: CC - Snake FS - Key Up (306204wy29.js) 110 bytes modified --- 306204wy29.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/306204wy29.js b/306204wy29.js index fea84a7..94d4403 100644 --- a/306204wy29.js +++ b/306204wy29.js @@ -9,6 +9,11 @@ if (!this.initialized) { this.initialized = true; } +if (this.state.turning) { + console.warn('already turning - todo: store the input and play back'); + return; +} + if (data.keyCode === GameLib.System.Input.KEY_UP) { if (