mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 23:49:21 +01:00
Updated how NanoUI renders templates, using JSRender without the JSViews data-linking. This makes it much easier to create NanoUIs
as you don't need to provide the full data structure up-front, part of an effort to make NanoUI more accessible. I have removed the carets (^) from all templates as they are not used any more. For safety I moved the src_object and user checks from the master controller to the nanoui process proc.
This commit is contained in:
@@ -296,7 +296,7 @@ datum/controller/game_controller/proc/process_nano()
|
||||
var/i = 1
|
||||
while(i<=nanomanager.processing_uis.len)
|
||||
var/datum/nanoui/ui = nanomanager.processing_uis[i]
|
||||
if(ui && ui.src_object && ui.user)
|
||||
if(ui)
|
||||
ui.process()
|
||||
i++
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user