From 7b54db5985726f537edb6cd9203d5ae8934d1701 Mon Sep 17 00:00:00 2001 From: Veronika Kravchenko Date: Fri, 17 Aug 2018 11:18:19 +0100 Subject: [PATCH] fixed lvl1-lvl2 transition while endgame = true --- js/play2.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/play2.js b/js/play2.js index 1062d96..1997b16 100644 --- a/js/play2.js +++ b/js/play2.js @@ -16,6 +16,7 @@ var playState2 = { counter: null, create: function(){ var self = this; + endGame = false; game.input.gamepad.start(); pad1 = game.input.gamepad.pad1; game.input.onDown.add(dump, this);