mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-08 05:27:12 +08:00
Fixed a problem where the stores view wasn't updating.
This commit is contained in:
+2
-1
@@ -1088,9 +1088,10 @@ 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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user