[MIRROR] Unify TGUI crew manifest across lobby and ghosts, make it a true table (#9223)

Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2024-10-12 08:10:35 -07:00
committed by GitHub
parent c7e2562b64
commit c7d0d5ef28
4 changed files with 64 additions and 43 deletions
+11 -1
View File
@@ -11,4 +11,14 @@
/datum/tgui_module/crew_manifest/robot
/datum/tgui_module/crew_manifest/robot/tgui_state(mob/user)
return GLOB.tgui_self_state
return GLOB.tgui_self_state
// Module that deletes itself when it's closed
/datum/tgui_module/crew_manifest/self_deleting
/datum/tgui_module/crew_manifest/self_deleting/tgui_close(mob/user)
. = ..()
qdel(src)
/datum/tgui_module/crew_manifest/self_deleting/tgui_state(mob/user)
return GLOB.tgui_always_state