Browse Source

Fix error

Load_Fix
Robert Chen 11 years ago
parent
commit
6ccb09adb9
  1. 2
      js/ui.js

2
js/ui.js

@ -430,7 +430,7 @@ function OvenUI( stage, gameState ){ @@ -430,7 +430,7 @@ function OvenUI( stage, gameState ){
if( gameState.turkeyBought ){
var state = gameState.ovenModel.getTurkeyState();
gameState.pubsub.publish( "ShowDialog", {seq:"custom", autoAdvance:true, customText:evalSkin[turkeyState["skin"]["cond"][2]] + "." } );
gameState.pubsub.publish( "AddRecord", {type:"Open ", "The turkey looked " + turkeyState["skin"]["cond"][2]} );
gameState.pubsub.publish( "AddRecord", {type:"Open ", text:"The turkey looked " + turkeyState["skin"]["cond"][2]} );
//gameState.ovenModel.setRawTemp( (gameState.ovenModel.getRawTemp() - 25) < 150 ? 150 : gameState.ovenModel.getRawTemp() - 25 );
gameState.ovenOpened++;
}

Loading…
Cancel
Save