Fixes PDA light not turning off when exploded by a detomax.

This commit is contained in:
Erthilo
2012-05-26 23:59:31 +01:00
parent 4a63992284
commit 8deaf5fd7e
+4 -1
View File
@@ -905,7 +905,10 @@
if (ismob(loc))
var/mob/M = loc
M.show_message("\red Your [src] explodes!", 1)
if (src in M.contents)
if(fon)
fon = 0
M.total_luminosity -= f_lum
if(T)
T.hotspot_expose(700,125)