Port over remaining Lavaland ruins

This commit is contained in:
Mark van Alphen
2019-06-07 01:19:55 +02:00
parent 10ef2311ab
commit ba3f65049d
89 changed files with 10091 additions and 275 deletions
+8
View File
@@ -40,6 +40,14 @@
/datum/proc/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1, var/datum/nano_ui/master_ui = null, var/datum/topic_state/state = default_state)
return
/**
* The UI-close proc is called when the UI is closed.
*
* @param user /mob The mob who was interacting with this UI.
*/
/datum/proc/on_ui_close(mob/user)
return
/**
* The ui_data proc is used to get data for the interface
*
+2
View File
@@ -444,6 +444,8 @@ nanoui is used to open and update nano browser uis
for(var/datum/nanoui/child in children)
child.close()
src_object.on_ui_close(user)
/**
* Set the UI window to call the nanoclose verb when the window is closed
* This allows Nano to handle closed windows