mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Fixes runtime in ravenous_macrophage.dm, line 26: Cannot read null.mind (#7196)
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
/datum/blob_type/ravenous_macrophage/on_pulse(var/obj/structure/blob/B)
|
||||
var/mob/living/L = locate() in range(world.view, B)
|
||||
if(prob(1) && L.mind && !L.stat) // There's some active living thing nearby, produce offgas.
|
||||
if(L && prob(1) && L.mind && !L.stat) // There's some active living thing nearby, produce offgas.
|
||||
var/turf/T = get_turf(B)
|
||||
var/datum/effect/effect/system/smoke_spread/noxious/BS = new /datum/effect/effect/system/smoke_spread/noxious
|
||||
BS.attach(T)
|
||||
|
||||
Reference in New Issue
Block a user