From 5f5ff3701eaf52d8e15fcfd9e56fb7b9818a2c1e Mon Sep 17 00:00:00 2001 From: Andrew Salamon Date: Wed, 9 Oct 2013 15:32:05 -0700 Subject: [PATCH] Fixed a problem where the stores view wasn't updating. --- script/room.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/room.js b/script/room.js index 3bbe2ed..29b311d 100644 --- a/script/room.js +++ b/script/room.js @@ -1088,9 +1088,10 @@ var Room = { Room.updateStoresView(); Room.updateBuildButtons(); } else if(e.category == 'income'){ + Room.updateStoresView(); Room.updateIncomeView(); } else if(e.stateName.indexOf('game.buildings') == 0){ Room.updateBuildButtons(); } } -}; \ No newline at end of file +};