Merge pull request #8832 from Ghommie/Ghommie-cit116

Fixes new player runtime that makes people unable to join rounds.
This commit is contained in:
kevinz000
2019-07-07 02:33:32 -07:00
committed by GitHub
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)