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{