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:
deathride58
2018-05-02 01:28:05 +00:00
committed by GitHub
+1 -1
View File
@@ -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)