TGUI pAIs & Infomoprh (Sleeve-card)

This commit is contained in:
ShadowLarkens
2020-09-17 23:10:33 -07:00
parent e9566c606d
commit ff932614eb
22 changed files with 916 additions and 883 deletions
+2 -1
View File
@@ -114,7 +114,6 @@
closing = TRUE
for(var/datum/tgui/child in children)
child.close(can_be_suspended, logout)
children.Cut()
// If we don't have window_id, open proc did not have the opportunity
// to finish, therefore it's safe to skip this whole block.
if(window)
@@ -126,6 +125,8 @@
src_object.tgui_close(user)
SStgui.on_close(src)
state = null
if(parent_ui)
parent_ui.children -= src
parent_ui = null
qdel(src)