Stores panel now persists on all non-world/non-space views.

This commit is contained in:
Matt Rasmus
2013-07-06 14:56:27 -07:00
parent 12258689e8
commit 8dabee851d
6 changed files with 59 additions and 7 deletions
+7 -1
View File
@@ -502,7 +502,7 @@ var Room = {
options: {}, // Nothing for now
onArrival: function() {
onArrival: function(transition_diff) {
Room.setTitle();
if(Room.changed) {
Notifications.notify(Room, "the fire is " + State.room.fire.text);
@@ -518,6 +518,8 @@ var Room = {
Room.updateIncomeView();
Notifications.notify(Room, "the stranger is standing by the fire. she says she can help. says she builds things.")
}
Engine.moveStoresView(null, transition_diff);
},
TempEnum: {
@@ -793,6 +795,10 @@ var Room = {
if(newRow) {
Room.updateIncomeView();
}
if($("div#outsidePanel").length) {
Outside.updateVillage();
}
},
updateIncomeView: function() {