Added possibility to use spaces in Server.Name

This way it's easier for others to set a servername with spaces in it by
default
This commit is contained in:
Glenn Martin Jensen
2015-05-21 09:49:04 +02:00
parent 27cbfd9bb1
commit 615c22f158

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# example launch script, see https://github.com/OpenRA/OpenRA/wiki/Dedicated for details # example launch script, see https://github.com/OpenRA/OpenRA/wiki/Dedicated for details
Name="Dedicated-Server" Name="Dedicated Server"
Mod="ra" Mod="ra"
Dedicated="True" Dedicated="True"
DedicatedLoop="True" DedicatedLoop="True"
@@ -10,6 +10,6 @@ AdvertiseOnline="False"
while true; do while true; do
mono --debug OpenRA.Game.exe Game.Mod=$Mod Server.Dedicated=$Dedicated Server.DedicatedLoop=$DedicatedLoop \ mono --debug OpenRA.Game.exe Game.Mod=$Mod Server.Dedicated=$Dedicated Server.DedicatedLoop=$DedicatedLoop \
Server.Name=$Name Server.ListenPort=$ListenPort Server.ExternalPort=$ExternalPort \ Server.Name="$Name" Server.ListenPort=$ListenPort Server.ExternalPort=$ExternalPort \
Server.AdvertiseOnline=$AdvertiseOnline Server.AdvertiseOnline=$AdvertiseOnline
done done