Fix mouse hold issue

master
sigonasr2 5 years ago
parent 940da59444
commit fa706bbff6
  1. 2
      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)

Loading…
Cancel
Save