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
+3 -1
View File
@@ -81,13 +81,15 @@ var Ship = {
options: {}, // Nothing for now
onArrival: function() {
onArrival: function(transition_diff) {
Ship.setTitle();
if(!State.seenShip) {
Notifications.notify(Ship, 'somewhere above the debris cloud, the wanderer fleet hovers. been on this rock too long.');
State.seenShip = true;
Engine.saveGame();
}
Engine.moveStoresView(null, transition_diff);
},
setTitle: function() {