فهرست منبع

Moved -disableluarefresh to customparms

Marvin Lehmann 8 سال پیش
والد
کامیت
483b0b54c1
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      lgsm/config-default/config-lgsm/gmodserver/_default.cfg

+ 3 - 2
lgsm/config-default/config-lgsm/gmodserver/_default.cfg

@@ -24,7 +24,8 @@ workshopcollectionid=""
 
 ## Custom Start Parameters
 # Default +r_hunkalloclightmaps 0, fixes a start issue on maps with many lights
-customparms="+r_hunkalloclightmaps 0"
+# Default -disableluarefresh, disables autorefresh which should only be used when developing to avoid unwanted behavior
+customparms="+r_hunkalloclightmaps 0 -disableluarefresh"
 
 ## Optional: Game Server Login Token
 # GSLT can be used for running a public server.
@@ -33,7 +34,7 @@ gslt=""
 
 ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
 fn_parms(){
-parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate ${tickrate} -disableluarefresh +host_workshop_collection ${workshopcollectionid} -authkey ${workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers} ${customparms}"
+parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate ${tickrate} +host_workshop_collection ${workshopcollectionid} -authkey ${workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers} ${customparms}"
 }
 
 #### LinuxGSM Settings ####