diff --git a/js/ui.js b/js/ui.js index 44bbcbf..83fa2e5 100644 --- a/js/ui.js +++ b/js/ui.js @@ -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++; }