From 919d607953c3ae457ce9e1cac9b99efac9703c78 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 24 Nov 2017 15:46:29 +0100 Subject: [PATCH] Update: CC - Touch Start (pgx4qp38d4.js) 10 bytes modified --- pgx4qp38d4.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pgx4qp38d4.js b/pgx4qp38d4.js index 83ba520..fe9fa0f 100644 --- a/pgx4qp38d4.js +++ b/pgx4qp38d4.js @@ -4,7 +4,8 @@ var touches = Object.keys(data); /** * This code is rediculous - but it fixes the bug in ios where audio does not play */ -GameLib.Event.Emit( + +/*GameLib.Event.Emit( GameLib.Event.PLAY_AUDIO, { name : 'Audio - Flamethrower' @@ -12,14 +13,15 @@ GameLib.Event.Emit( ); if (touches.length > 2) { +*/ GameLib.Event.Emit(GameLib.Event.MOUSE_DOWN); -} else { +/*} else { GameLib.Event.Emit( GameLib.Event.STOP_AUDIO, { name : 'Audio - Flamethrower' } ); -} +}*/ //@ sourceURL=touchStart.js \ No newline at end of file