浏览代码

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

Christian 5 年之前
父节点
当前提交
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