Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Hawk_v3
2019-05-08 19:59:55 +01:00
40 changed files with 1613 additions and 469 deletions
+4 -4
View File
@@ -13,7 +13,7 @@ SUBSYSTEM_DEF(nanoui)
"nano/css/",\
"nano/images/",\
"nano/images/status_icons/",\
"nano/images/modular_computers/",
"nano/images/modular_computers/",\
"nano/js/",\
"nano/templates/"\
)
@@ -25,9 +25,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)
send_resources(i) //VOREStation Edit end: fixing some kevinzing
send_resources(i)
/datum/controller/subsystem/nanoui/Recover()
if(SSnanoui.open_uis)
@@ -50,4 +50,4 @@ SUBSYSTEM_DEF(nanoui)
if(!subsystem_initialized)
return
for(var/file in asset_files)
client << browse_rsc(file) // send the file to the client
client << browse_rsc(file) // send the file to the client