Makes nanoui apply properly to roundstart clients

This commit is contained in:
Heroman
2019-04-12 16:18:54 +10:00
parent 86f079e902
commit 82b9508b0e

View File

@@ -23,9 +23,9 @@ SUBSYSTEM_DEF(nanoui)
if(copytext(filename, length(filename)) != "/") // filenames which end in "/" are actually directories, which we want to ignore
if(fexists(path + filename))
asset_files.Add(fcopy_rsc(path + filename)) // add this file to asset_files for sending to clients when they connect
.=..() //VOREStation Edit start: fixing some kevinzing
for(var/i in GLOB.clients)
addtimer(CALLBACK(src, .proc/send_resources, i), 10)
return ..()
send_resources(i) //VOREStation Edit end: fixing some kevinzing
/datum/controller/subsystem/nanoui/Recover()
if(SSnanoui.open_uis)