Merge pull request #5597 from Citadel-Station-13/upstream-merge-35804
[MIRROR] Fixes ghost role spawners still showing up in the spawner menu even if they're deleted
This commit is contained in:
@@ -54,6 +54,8 @@
|
||||
GLOB.poi_list -= src
|
||||
var/list/spawners = GLOB.mob_spawners[name]
|
||||
LAZYREMOVE(spawners, src)
|
||||
if(!LAZYLEN(spawners))
|
||||
LAZYREMOVE(GLOB.mob_spawners,name)
|
||||
return ..()
|
||||
|
||||
/obj/effect/mob_spawn/proc/special(mob/M)
|
||||
|
||||
Reference in New Issue
Block a user