Fixes new player runtime that makes people unable to join rounds.

This commit is contained in:
Ghommie
2019-07-06 04:51:56 +02:00
parent a814442fa5
commit fe2abc990b
3 changed files with 9 additions and 4 deletions
@@ -21,8 +21,9 @@
/obj/item/clockwork/construct_chassis/Destroy()
GLOB.poi_list -= src
var/list/spawners = GLOB.mob_spawners[name]
LAZYREMOVE(spawners, src)
LAZYREMOVE(GLOB.mob_spawners[name], src)
if(!LAZYLEN(GLOB.mob_spawners[name]))
GLOB.mob_spawners -= name
. = ..()
/obj/item/clockwork/construct_chassis/examine(mob/user)