mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user