From 47f76226061ac10664df922f758b6b69604b5c43 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 11 Sep 2025 18:33:59 +0900 Subject: [PATCH] fix: return codes in manual mode --- helpers/funcs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/funcs b/helpers/funcs index 8033d09..bfde35f 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1084,7 +1084,7 @@ try_connect(){ local gameport=$(<<< $record awk -F: '{print $2}') local qport=$(<<< $record awk -F: '{print $3}') - echo "$binary" > $_cache_binary + [[ $appid -eq $exp ]] && echo "$binary" > $_cache_binary local remote_mods remote_mods=$(a2s $ip $qport rules) @@ -1110,7 +1110,7 @@ try_connect(){ return 1 fi case $auto_install in - "") manual_mod_install "$ip" "$gameport" "$diff" "$sanitized_mods" "$appid";; + "") manual_mod_install "$ip" "$gameport" "$diff" "$sanitized_mods" "" "$appid";; 1|2) manual_mod_install "$ip" "$gameport" "$diff" "$sanitized_mods" "auto" "$appid" ;; esac else