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
+2 -2
View File
@@ -72,9 +72,9 @@
/obj/effect/mob_spawn/Destroy()
GLOB.poi_list -= src
var/job_name = job_description ? job_description : name
GLOB.mob_spawners -= job_name
LAZYREMOVE(GLOB.mob_spawners[job_name], src)
if(!LAZYLEN(GLOB.mob_spawners[job_name]))
LAZYREMOVE(GLOB.mob_spawners[job_name], src)
GLOB.mob_spawners -= job_name
return ..()
/obj/effect/mob_spawn/proc/can_latejoin() //If it can be taken from the lobby.