Weapons panel hides when not in Room.

This commit is contained in:
Matt Rasmus
2013-07-08 13:10:49 -07:00
parent 8dabee851d
commit de2ad91053
+9
View File
@@ -304,6 +304,15 @@ var Engine = {
}
module.onArrival(diff);
if(Engine.activeModule == Room) {
$('div#weapons').animate({opacity: 0}, 300);
}
if(module == Room) {
$('div#weapons').animate({opacity: 1}, 300);
}
Engine.activeModule = module;
Notifications.printQueue(module);