Flashy flash and Gondola Pods
and cult effect addition, fixes CTF
This commit is contained in:
@@ -67,6 +67,15 @@
|
||||
**/
|
||||
/mob/var/list/open_uis = list()
|
||||
|
||||
/**
|
||||
* public
|
||||
*
|
||||
* Called on a UI's object when the UI is closed, not to be confused with client/verb/uiclose(), which closes the ui window
|
||||
*
|
||||
*
|
||||
**/
|
||||
/datum/proc/ui_close()
|
||||
|
||||
/**
|
||||
* verb
|
||||
*
|
||||
|
||||
@@ -127,6 +127,7 @@
|
||||
**/
|
||||
/datum/tgui/proc/close()
|
||||
user << browse(null, "window=[window_id]") // Close the window.
|
||||
src_object.ui_close()
|
||||
SStgui.on_close(src)
|
||||
for(var/datum/tgui/child in children) // Loop through and close all children.
|
||||
child.close()
|
||||
|
||||
Reference in New Issue
Block a user