From 5164e3810469f598b909d9895a3ec9697b093be5 Mon Sep 17 00:00:00 2001 From: AnturK Date: Sun, 21 Jan 2018 05:04:37 +0100 Subject: [PATCH] Fixes tgui reload script (#34632) * Fixes reload bat * That's possible --- tgui/reload.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tgui/reload.bat b/tgui/reload.bat index c59d502f36..d45411f006 100644 --- a/tgui/reload.bat +++ b/tgui/reload.bat @@ -4,5 +4,5 @@ REM Get the documents folder from the registry. for /f "tokens=3*" %%p in ('REG QUERY "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal') do ( set DocumentsFolder=%%p ) -REM Copy assets to the BYOND cache -cmd /c copy assets\* "%DocumentsFolder%\BYOND\cache" /y +REM Copy to tmp subdirectories +FOR /D %%G in ("%DocumentsFolder%\BYOND\cache\tmp*") DO (cmd /c copy assets\* %%G /y) \ No newline at end of file