Bugfixes for adminhelp and the Power Offline event.

This commit is contained in:
SkyMarshal
2012-02-04 16:20:19 -07:00
parent 7a4b21382e
commit 1d7b00a0fc
4 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
/datum/event/power_offline
Announce()
for(var/obj/machinery/power/apc/a in world)
if(!a.crit)
if(istype(a.area, /area/engine))
if(!a.crit && a.z == 1)
if(istype(a.area, /area/engine) || istype(a.area, /area/toxins/xenobiology))
continue
a.eventoff = 1
a.update()