diff --git a/js/ui.js b/js/ui.js index 043f726..1b0f4d0 100644 --- a/js/ui.js +++ b/js/ui.js @@ -320,7 +320,7 @@ function OvenUI( stage, gameState ){ // what's the state of the turkey turkeyState = ovenModel.getTurkeyState(); turkeyStates[0].alpha = 1; - /* if( turkeyState["skin"]["cond"][0] == "Undercooked" ) + if( turkeyState["skin"]["cond"][0] == "Undercooked" ) turkeyStates[1].alpha = turkeyState["skin"]["cond"][1]; if( turkeyState["skin"]["cond"][0] == "Cooked" ) turkeyStates[2].alpha = turkeyState["skin"]["cond"][1]; @@ -330,7 +330,7 @@ function OvenUI( stage, gameState ){ turkeyStates[4].alpha = turkeyState["skin"]["cond"][1]; if( turkeyState["skin"]["cond"][0] == "House Fire" ) turkeyStates[4].alpha = 1; - */ + } } },