mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-05 23:13:06 +00:00
Makes nanoui apply properly to roundstart clients
This commit is contained in:
@@ -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(copytext(filename, length(filename)) != "/") // filenames which end in "/" are actually directories, which we want to ignore
|
||||||
if(fexists(path + filename))
|
if(fexists(path + filename))
|
||||||
asset_files.Add(fcopy_rsc(path + filename)) // add this file to asset_files for sending to clients when they connect
|
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)
|
for(var/i in GLOB.clients)
|
||||||
addtimer(CALLBACK(src, .proc/send_resources, i), 10)
|
send_resources(i) //VOREStation Edit end: fixing some kevinzing
|
||||||
return ..()
|
|
||||||
|
|
||||||
/datum/controller/subsystem/nanoui/Recover()
|
/datum/controller/subsystem/nanoui/Recover()
|
||||||
if(SSnanoui.open_uis)
|
if(SSnanoui.open_uis)
|
||||||
|
|||||||
Reference in New Issue
Block a user