From 19a95a9746618293b4d97cba30759222f64d6c58 Mon Sep 17 00:00:00 2001 From: Robert Chen Date: Fri, 29 Nov 2013 16:35:09 -0800 Subject: [PATCH] open door --- js/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui.js b/js/ui.js index 9e4c5d3..6b3f85e 100644 --- a/js/ui.js +++ b/js/ui.js @@ -274,7 +274,7 @@ function OvenUI( stage, gameState ){ // Show core temperature this.showTempDialog = function(){ - if( that.ovenDoor == OVEN_CLOSED ){ + if( that.ovenDoor != OVEN_OPEN ){ gameState.pubsub.publish("ShowDialog", {seq:"OpenDoor", autoAdvance:true}); } else{