Просмотр исходного кода

gametype defined first, so it should come first in the params

1. game_type
2. game_mode
It's not breaking, sequence doesn't matter, just for readability.
The official docs has this way too.
Attila 7 лет назад
Родитель
Сommit
dc42140d71
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/config-default/config-lgsm/csgoserver/_default.cfg

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

@@ -41,7 +41,7 @@ wsstartmap=""
 
 ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
 fn_parms(){
-parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_mode ${gamemode} +game_type ${gametype} +host_workshop_collection ${wscollectionid} +workshop_start_map ${wsstartmap} -authkey ${wsapikey} -nobreakpad"
+parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_type ${gametype} +game_mode ${gamemode} +host_workshop_collection ${wscollectionid} +workshop_start_map ${wsstartmap} -authkey ${wsapikey} -nobreakpad"
 }
 
 #### LinuxGSM Settings ####