Fix runtime in Hallucination.dm when target.client is null

This commit is contained in:
Bizzonium
2020-08-02 21:20:57 +03:00
parent 91d679f2ed
commit 2f61e6b4bc
+2
View File
@@ -159,6 +159,8 @@ Gunshots/explosions/opening doors/less rare audio (done)
next_expand = world.time + FAKE_FLOOD_EXPAND_TIME
/obj/effect/hallucination/fake_flood/proc/Expand()
if(!target)
qdel(src)
for(var/turf/FT in flood_turfs)
for(var/dir in GLOB.cardinal)
var/turf/T = get_step(FT, dir)