Skip to content

Commit

Permalink
Don't write useless MO2PortConf when game detection failed
Browse files Browse the repository at this point in the history
  • Loading branch information
zerodogg committed Apr 28, 2024
1 parent 710b040 commit 67ba56e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -19787,9 +19787,11 @@ function updateMO2PortConf {
MONGURL="${MONGURL//\"}"
if [ -z "${MONGURL}" ]; then
writelog "WARN" "${FUNCNAME[0]} - extracting the gamename MONGURL from '$MO2GAMES' by looking for '$MO2GAM' or '$AID' failed - the file '$MYPORTDLDAT' won't be found"
return
fi
else
writelog "WARN" "${FUNCNAME[0]} - extracting the gamename MONGURL from '$MO2GAMES' by looking for '$MO2GAM' failed - the file '$MYPORTDLDAT' won't be found (and no AID to fall back to)"
return
fi
fi

Expand Down

0 comments on commit 67ba56e

Please sign in to comment.