mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
Merge pull request #13990 from Bizzonium/runtimeHallucination
Fix runtime in Hallucination.dm when target.client is null
This commit is contained in:
@@ -149,10 +149,12 @@ Gunshots/explosions/opening doors/less rare audio (done)
|
||||
/obj/effect/hallucination/fake_flood/process()
|
||||
if(!target)
|
||||
qdel(src)
|
||||
return
|
||||
if(next_expand <= world.time)
|
||||
radius++
|
||||
if(radius > FAKE_FLOOD_MAX_RADIUS)
|
||||
qdel(src)
|
||||
return
|
||||
Expand()
|
||||
if((get_turf(target) in flood_turfs) && !target.internal)
|
||||
target.hallucinate("fake_alert", "too_much_tox")
|
||||
|
||||
Reference in New Issue
Block a user