mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-10 23:47:16 +01:00
Fixes sludge spawning underneath structures.
This commit is contained in:
@@ -882,6 +882,9 @@ The reactor CHEWS through moderator. It does not do this slowly. Be very careful
|
||||
|
||||
/obj/effect/decal/nuclear_waste/Initialize()
|
||||
. = ..()
|
||||
for(var/obj/A in get_turf(src))
|
||||
if(istype(A, /obj/structure))
|
||||
qdel(src) //It is more processing efficient to do this here rather than when searching for available turfs.
|
||||
set_light(3)
|
||||
AddComponent(/datum/component/radioactive, 250, src, 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user