Merge pull request #35804 from DaedalusGame/ghost-rolling
Fixes ghost role spawners still showing up in the spawner menu even if they're deleted
This commit is contained in:
committed by
CitadelStationBot
parent
fef23bd7cc
commit
ff0f8189c5
@@ -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