From ffe3dac3a8a93a11f16f9ba9c43e9c89a45650b8 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 10 Sep 2025 16:38:06 +0900 Subject: [PATCH] fix: mods downloading too fast --- helpers/funcs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helpers/funcs b/helpers/funcs index 47cc655..ea846a5 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1626,6 +1626,9 @@ concat_mods(){ local encoded_id local link for i in "${concat_arr[@]}"; do + until [[ -f $workshop_dir/$i/meta.cpp ]]; do + sleep 0.1s + done id=$(awk -F"= " '/publishedid/ {print $2}' "$workshop_dir"/$i/meta.cpp | awk -F\; '{print $1}') encoded_id=$(encode $id) link="@$encoded_id;"