mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
Fixing bugs
This commit is contained in:
+2
-4
@@ -577,10 +577,6 @@
|
||||
stores.animate({right: -(panelIndex * 700) + 'px'}, 300 * diff);
|
||||
}
|
||||
|
||||
Engine.activeModule = module;
|
||||
|
||||
module.onArrival(diff);
|
||||
|
||||
if(Engine.activeModule == Room || Engine.activeModule == Path) {
|
||||
// Don't fade out the weapons if we're switching to a module
|
||||
// where we're going to keep showing them anyway.
|
||||
@@ -593,6 +589,8 @@
|
||||
$('div#weapons').animate({opacity: 1}, 300);
|
||||
}
|
||||
|
||||
Engine.activeModule = module;
|
||||
module.onArrival(diff);
|
||||
Notifications.printQueue(module);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user