Merge pull request #6604 from Citadel-Station-13/upstream-merge-37562
[MIRROR] Fix runtimes in corpse code due to mob_spawners becoming null
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
var/list/spawners = GLOB.mob_spawners[name]
|
||||
LAZYREMOVE(spawners, src)
|
||||
if(!LAZYLEN(spawners))
|
||||
LAZYREMOVE(GLOB.mob_spawners,name)
|
||||
GLOB.mob_spawners -= name
|
||||
return ..()
|
||||
|
||||
/obj/effect/mob_spawn/proc/special(mob/M)
|
||||
|
||||
Reference in New Issue
Block a user