Преглед изворни кода

Set the password as a travel parameter

According to the doc, `password` is a travel parameter and not a command line argument.
Guillaume Migeon пре 7 година
родитељ
комит
0a42c4d301
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lgsm/config-default/config-lgsm/inssserver/_default.cfg

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

@@ -21,7 +21,7 @@ maxplayers="28"
 
 
 ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
 ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
 fn_parms(){
 fn_parms(){
-parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport}  -password=${serverpassword} -hostname='${servername}' -log"
+parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport}?password=${serverpassword} -hostname='${servername}' -log"
 }
 }
 
 
 #### LinuxGSM Settings ####
 #### LinuxGSM Settings ####