From b9f654ac7837513b090ad98f0edbdb392c968232 Mon Sep 17 00:00:00 2001 From: Robert Chen Date: Fri, 29 Nov 2013 16:04:15 -0800 Subject: [PATCH] cond --- js/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; - */ + } } },