Make launch-dedicated scripts consistent between platforms

This commit is contained in:
Curtis Shmyr
2016-06-12 13:10:14 -06:00
parent 3225ab7c99
commit b85f1e9555
2 changed files with 10 additions and 6 deletions

View File

@@ -12,9 +12,12 @@ ListenPort="${ListenPort:-"1234"}"
ExternalPort="${ExternalPort:-"1234"}"
AdvertiseOnline="${AdvertiseOnline:-"True"}"
AllowPortForward="${AllowPortForward:-"False"}"
DisableSinglePlayer="${DisableSinglePlayer:-"True"}"
Password="${Password:-""}"
while true; do
mono --debug OpenRA.Server.exe Game.Mod=$Mod \
Server.Name="$Name" Server.ListenPort=$ListenPort Server.ExternalPort=$ExternalPort \
Server.AdvertiseOnline=$AdvertiseOnline Server.AllowPortForward=$AllowPortForward
Server.AdvertiseOnline=$AdvertiseOnline Server.AllowPortForward=$AllowPortForward \
Server.DisableSinglePlayer=$DisableSinglePlayer Server.Password=$Password
done