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
+1 -1
View File
@@ -757,7 +757,7 @@ proc/blood_incompatible(donor,receiver)
afterattack(atom/A as obj|turf|area, mob/user as mob)
if(istype(A))
user.visible_message("[user] starts to wipe the prints off of [A] with \the [src]!")
user.visible_message("[user] starts to wipe the prints and blood off of [A] with \the [src]!")
if(do_after(user,30))
user.visible_message("[user] finishes wiping away the evidence!")
A.clean_blood()
+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()
+1 -1
View File
@@ -23,7 +23,7 @@
for(var/rep in replacechars)
msg = dd_replacetext(msg, rep, "")
world << msg*/
send2adminirc("#bs12admin","HELP: [src.key]: [msg]")
send2adminirc("#bs12admin","HELP: \"[src.key]: [msg]\"")
if(tension_master)
tension_master.new_adminhelp()
return