Browse Source

Fix issue where no password is assigned

pull/2141/head
NYPD 6 years ago
parent
commit
a411823619
  1. 4
      lgsm/config-default/config-lgsm/inssserver/_default.cfg

4
lgsm/config-default/config-lgsm/inssserver/_default.cfg

@ -21,7 +21,11 @@ maxplayers="28"
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
fn_parms(){
if [ "${serverpassword}" != "" ]; then
parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport}?password=${serverpassword} -hostname='${servername}' -log"
else
parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport} -hostname='${servername}' -log"
fi
}
#### LinuxGSM Settings ####

Loading…
Cancel
Save