From 61839da57028435b4091c8bb8005708c173174cf Mon Sep 17 00:00:00 2001 From: Mloc-Argent Date: Mon, 13 Oct 2014 20:01:54 +0100 Subject: [PATCH] testing fix for nui resources Signed-off-by: Mloc-Argent --- code/modules/nano/nanomanager.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/nano/nanomanager.dm b/code/modules/nano/nanomanager.dm index f3396ecd3f6..da546ac66da 100644 --- a/code/modules/nano/nanomanager.dm +++ b/code/modules/nano/nanomanager.dm @@ -27,8 +27,9 @@ filenames = flist(path) for(var/filename in filenames) if(copytext(filename, length(filename)) != "/") // filenames which end in "/" are actually directories, which we want to ignore - asset_files.Add(file(path + filename)) // add this file to asset_files for sending to clients when they connect - + if(fexists(path + filename)) + asset_files.Add(fcopy_rsc(path + filename)) // add this file to asset_files for sending to clients when they connect + return /**