Nanoui now supports use of multiple templates (#5105)

* Nanoui now supports use of multiple templates

* Removing debug code, indentation

* Indentation
This commit is contained in:
Atermonera
2018-03-28 14:53:50 -05:00
committed by Anewbe
parent 6adbe5537e
commit a2841ce9d6
3 changed files with 168 additions and 160 deletions
+5
View File
@@ -519,3 +519,8 @@ nanoui is used to open and update nano browser uis
*/
/datum/nanoui/proc/update(var/force_open = 0)
src_object.ui_interact(user, ui_key, src, force_open, master_ui, state)
/datum/nanoui/proc/append_template(var/key, var/filename)
add_template(key, filename)
open()
update(1)