diff --git a/tools/arkmanager b/tools/arkmanager index 0e92dcd..f18494f 100755 --- a/tools/arkmanager +++ b/tools/arkmanager @@ -1861,11 +1861,18 @@ doDownloadMod(){ # Downloads all installed and requested mods from the Steam workshop # doDownloadAllMods(){ + local fail=0 + local success=0 for modid in $(getModIds); do if isModUpdateAvailable $nodid; then - doDownloadMod $modid || return 1 + if doDownloadMod $modid; then + success=1 + else + fail=1 + fi fi done + [[ $success == 1 || $fail == 0 ]] && return 0 || return 1 } #