Fixed launcher for Warsim.

This commit is contained in:
Storm Dragon 2024-09-12 01:49:01 -04:00
parent f459791fda
commit cabe79cc34

View File

@ -919,8 +919,8 @@ custom_launch_parameters() {
exit 0
fi
if [[ "${game[0]}" == "warsim" ]]; then
pushd "$(winepath "$winePath")"
wine "$wineExec"
pushd "$(winepath "${game[1]%\\*}")"
wine "${game[1]##*\\}"
popd
exit 0
fi