From 483b0b54c10f64a21ecb4b2ded6c612e24cc6b35 Mon Sep 17 00:00:00 2001 From: Marvin Lehmann Date: Thu, 19 Oct 2017 18:20:48 +0200 Subject: [PATCH] Moved -disableluarefresh to customparms --- lgsm/config-default/config-lgsm/gmodserver/_default.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lgsm/config-default/config-lgsm/gmodserver/_default.cfg b/lgsm/config-default/config-lgsm/gmodserver/_default.cfg index a47b73df7..e35984540 100644 --- a/lgsm/config-default/config-lgsm/gmodserver/_default.cfg +++ b/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 ####