From fa706bbff63def23469523c68630f06935ce03ce Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Mon, 7 Sep 2020 01:22:01 +0900 Subject: [PATCH] Fix mouse hold issue --- game.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/game.js b/game.js index 806f3a1..1521af3 100644 --- a/game.js +++ b/game.js @@ -1526,8 +1526,10 @@ function clickEvent(e) { if (gameState===STARTUP) { currentSound.play() setupTitleScreen() + MOUSEDOWN=false } if (gameState===TITLE) { + MOUSEDOWN=false if (new Date().getTime()-TITLESCREENTIMELINE>=15000) { if (FIRSTBOOT) { loadStage(TUTORIAL1)