mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
Fixed a bug with the page title.
This commit is contained in:
+3
-1
@@ -348,6 +348,8 @@ var Engine = {
|
||||
// FIXME Why does this work if there's an animation queue...?
|
||||
stores.animate({right: -(panelIndex * 700) + 'px'}, 300 * diff);
|
||||
}
|
||||
|
||||
Engine.activeModule = module;
|
||||
|
||||
module.onArrival(diff);
|
||||
|
||||
@@ -363,7 +365,7 @@ var Engine = {
|
||||
$('div#weapons').animate({opacity: 1}, 300);
|
||||
}
|
||||
|
||||
Engine.activeModule = module;
|
||||
|
||||
|
||||
Notifications.printQueue(module);
|
||||
}
|
||||
|
||||
+3
-3
@@ -377,7 +377,7 @@ var Outside = {
|
||||
}
|
||||
},
|
||||
|
||||
updateVillage: function() {
|
||||
updateVillage: function(ignoreStores) {
|
||||
var village = $('div#village');
|
||||
var population = $('div#population');
|
||||
var needsAppend = false;
|
||||
@@ -425,7 +425,7 @@ var Outside = {
|
||||
|
||||
this.setTitle();
|
||||
|
||||
if(Engine.activeModule === Outside && village.children().length > 1) {
|
||||
if(!ignoreStores && Engine.activeModule === Outside && village.children().length > 1) {
|
||||
$('#storesContainer').css({top: village.height() + 26 + 'px'});
|
||||
}
|
||||
},
|
||||
@@ -539,7 +539,7 @@ var Outside = {
|
||||
$SM.set('game.outside.seenForest', true);
|
||||
}
|
||||
Outside.updateTrapButton();
|
||||
Outside.updateVillage();
|
||||
Outside.updateVillage(true);
|
||||
|
||||
Engine.moveStoresView($('#village'), transition_diff);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user