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