Browse Source

feat(st): switch parameters to loadlatest (#3924)

There are some unforseen issues if you both specify load and new together.
Loadlatest will also grab the last backup of that same save.
Neouni 3 năm trước cách đây
mục cha
commit
27ab0923ab
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lgsm/config-default/config-lgsm/stserver/_default.cfg

+ 1 - 1
lgsm/config-default/config-lgsm/stserver/_default.cfg

@@ -20,7 +20,7 @@ worldname="moon_save"
 
 ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
 # Edit with care
-startparameters="-NEWGAME ${worldtype} -LOADGAME ${worldname} -settings ServerName ${servername} StartLocalHost true ServerVisible true ServerMaxPlayers ${maxplayers} GamePort ${port} UpdatePort ${queryport} UPNPEnabled true AutoSave true SaveInterval ${autosaveinterval}"
+startparameters="-LOADLATEST ${worldname} ${worldtype} -settings ServerName ${servername} StartLocalHost true ServerVisible true ServerMaxPlayers ${maxplayers} GamePort ${port} UpdatePort ${queryport} UPNPEnabled true AutoSave true SaveInterval ${autosaveinterval}"
 
 #### LinuxGSM Settings ####