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 exit 0
fi fi
if [[ "${game[0]}" == "warsim" ]]; then if [[ "${game[0]}" == "warsim" ]]; then
pushd "$(winepath "$winePath")" pushd "$(winepath "${game[1]%\\*}")"
wine "$wineExec" wine "${game[1]##*\\}"
popd popd
exit 0 exit 0
fi fi