Fixed a problem where the stores view wasn't updating.

This commit is contained in:
Andrew Salamon
2013-10-09 15:32:05 -07:00
parent 5d482f856e
commit 5f5ff3701e
+1
View File
@@ -1088,6 +1088,7 @@ var Room = {
Room.updateStoresView(); Room.updateStoresView();
Room.updateBuildButtons(); Room.updateBuildButtons();
} else if(e.category == 'income'){ } else if(e.category == 'income'){
Room.updateStoresView();
Room.updateIncomeView(); Room.updateIncomeView();
} else if(e.stateName.indexOf('game.buildings') == 0){ } else if(e.stateName.indexOf('game.buildings') == 0){
Room.updateBuildButtons(); Room.updateBuildButtons();