Просмотр исходного кода

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

Christian 5 лет назад
Родитель
Сommit
47d0de16c8
1 измененных файлов с 1 добавлено и 1 удалено
  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