mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
Stores panel now persists on all non-world/non-space views.
This commit is contained in:
+7
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user