From fb576bead640e395c20681e1bea19b3dae4ea6d0 Mon Sep 17 00:00:00 2001 From: BreezeDelegate <271538431+BreezeDelegate@users.noreply.github.com> Date: Mon, 24 Aug 2026 11:02:44 +0000 Subject: [PATCH] fix(fastdl): include Source resource files --- lgsm/modules/command_fastdl.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lgsm/modules/command_fastdl.sh b/lgsm/modules/command_fastdl.sh index dfdcc9ec8f..c73fe175a7 100755 --- a/lgsm/modules/command_fastdl.sh +++ b/lgsm/modules/command_fastdl.sh @@ -162,7 +162,7 @@ fn_fastdl_preview() { done # Source engine else - fastdl_directories_array=("maps" "materials" "models" "particles" "sound" "resources") + fastdl_directories_array=("maps" "materials" "models" "particles" "sound" "resource") for directory in "${fastdl_directories_array[@]}"; do if [ -d "${systemdir}/${directory}" ]; then if [ "${directory}" == "maps" ]; then @@ -175,6 +175,8 @@ fn_fastdl_preview() { local allowed_extentions_array=("*.pcf") elif [ "${directory}" == "sound" ]; then local allowed_extentions_array=("*.wav" "*.mp3" "*.ogg") + elif [ "${directory}" == "resource" ]; then + local allowed_extentions_array=("*") fi for allowed_extention in "${allowed_extentions_array[@]}"; do fileswc=0 @@ -323,6 +325,8 @@ fn_fastdl_source() { local allowed_extentions_array=("*.pcf") elif [ "${directory}" == "sound" ]; then local allowed_extentions_array=("*.wav" "*.mp3" "*.ogg") + elif [ "${directory}" == "resource" ]; then + local allowed_extentions_array=("*") fi for allowed_extention in "${allowed_extentions_array[@]}"; do fileswc=0