Makes playable mobs GC better by reworking how GLOB.respawnable_list works (#17217)

This commit is contained in:
Farie82
2021-12-13 09:22:08 +01:00
committed by GitHub
parent 1df1f05323
commit 60647dc4c0
10 changed files with 21 additions and 17 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ GLOBAL_DATUM_INIT(ghost_hud_panel, /datum/ui_module/ghost_hud_panel, new)
ghost.has_enabled_antagHUD = TRUE
ghost.can_reenter_corpse = FALSE
GLOB.respawnable_list -= ghost
ghost.remove_from_respawnable_list()
ghost.antagHUD = TRUE
for(var/datum/atom_hud/antag/H in GLOB.huds)