Fixed compile error because I don't know how istype() works

This commit is contained in:
Amunak
2014-11-29 20:33:37 +01:00
parent 309cf59f71
commit cc576db683

View File

@@ -149,7 +149,7 @@
alert_msg = safe_alert
lastwarning = world.timeofday
if(!istype(/obj/machinery/power/supermatter/shard) && !istype(L, /turf/space) && alert_msg)
if(!istype(src, /obj/machinery/power/supermatter/shard) && !istype(L, /turf/space) && alert_msg)
radio.autosay(alert_msg, "Supermatter Monitor")
if(damage > explosion_point)