Explorar o código

fix(fastdl): add missing file extention vmt and vtf (#3349)

Christian %!s(int64=5) %!d(string=hai) anos
pai
achega
47d0de16c8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/command_fastdl.sh

+ 1 - 1
lgsm/functions/command_fastdl.sh

@@ -178,7 +178,7 @@ fn_fastdl_preview(){
 				elif [ "${directory}" == "materials" ]; then
 					local allowed_extentions_array=( "*.vtf" "*.vmt" "*.vbf" "*.png" "*.svg" )
 				elif [ "${directory}" == "models" ]; then
-					local allowed_extentions_array=( "*.vtx" "*.vvd" "*.mdl" "*.phy" "*.jpg" "*.png" )
+					local allowed_extentions_array=( "*.vtx" "*.vvd" "*.mdl" "*.phy" "*.jpg" "*.png" "*.vmt" "*.vtf" )
 				elif [ "${directory}" == "particles" ]; then
 					local allowed_extentions_array=( "*.pcf" )
 				elif [ "${directory}" == "sound" ]; then