From 6dff033fe77b0faf5779157ba3358d2068add6c3 Mon Sep 17 00:00:00 2001 From: Robert Chen Date: Sun, 1 Dec 2013 01:59:03 -0800 Subject: [PATCH] Only let player enter after we load 100% --- js/screens.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/screens.js b/js/screens.js index a61b264..5bf2678 100755 --- a/js/screens.js +++ b/js/screens.js @@ -46,9 +46,11 @@ function LoadingScreen( stage, gameState ){ that.done.addEventListener( "mouseout", function(){ document.body.style.cursor='default'; } ); that.done.addEventListener( "click", function(){ gameState.pubsub.publish("SwitchScreen", "MainScreen"); }); + /* that.turkeyState[4].addEventListener( "mouseover", function(){ document.body.style.cursor='pointer'; } ); that.turkeyState[4].addEventListener( "mouseout", function(){ document.body.style.cursor='default'; } ); that.turkeyState[4].addEventListener( "click", function(){ gameState.pubsub.publish("SwitchScreen", "MainScreen"); }); + */ } });