Skip to content

Commit

Permalink
fix ini prop name 'mAutoSaveOnDisconnect' (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
msladek authored Dec 1, 2021
1 parent ab66493 commit 9119fd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ServerSettings.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[/Script/FactoryGame.FGServerSubsystem]
mAutoPause=True
mAUTOSAVEONDISCONNECTnnect=True
mAutoSaveOnDisconnect=True
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ set_ini_prop "ServerSettings.ini" "\/Script\/FactoryGame\.FGServerSubsystem" "mA

[[ "${AUTOSAVEONDISCONNECT,,}" == "true" ]] && AUTOSAVEONDISCONNECT="true" || AUTOSAVEONDISCONNECT="false"
printf "Setting autosave on disconnect to %s\\n" "${AUTOSAVEONDISCONNECT^}"
set_ini_prop "ServerSettings.ini" "\/Script\/FactoryGame\.FGServerSubsystem" "mAUTOSAVEONDISCONNECTnnect" "${AUTOSAVEONDISCONNECT^}"
set_ini_prop "ServerSettings.ini" "\/Script\/FactoryGame\.FGServerSubsystem" "mAutoSaveOnDisconnect" "${AUTOSAVEONDISCONNECT^}"

if ! [[ "${SKIPUPDATE,,}" == "true" ]]; then
if [[ "${STEAMBETA,,}" == "true" ]]; then
Expand Down

0 comments on commit 9119fd8

Please sign in to comment.