mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Update nanoui.dm
This commit is contained in:
@@ -25,15 +25,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
|
||||||
<<<<<<< HEAD
|
|
||||||
.=..() //VOREStation Edit start: fixing some kevinzing
|
|
||||||
for(var/i in GLOB.clients)
|
|
||||||
send_resources(i) //VOREStation Edit end: fixing some kevinzing
|
|
||||||
=======
|
|
||||||
.=..()
|
.=..()
|
||||||
for(var/i in GLOB.clients)
|
for(var/i in GLOB.clients)
|
||||||
send_resources(i)
|
send_resources(i)
|
||||||
>>>>>>> 2358af9... Merge pull request #6151 from Novacat/nova-runtimes
|
|
||||||
|
|
||||||
/datum/controller/subsystem/nanoui/Recover()
|
/datum/controller/subsystem/nanoui/Recover()
|
||||||
if(SSnanoui.open_uis)
|
if(SSnanoui.open_uis)
|
||||||
@@ -56,4 +50,4 @@ SUBSYSTEM_DEF(nanoui)
|
|||||||
if(!subsystem_initialized)
|
if(!subsystem_initialized)
|
||||||
return
|
return
|
||||||
for(var/file in asset_files)
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user