From e24b4dbd8ab5ad03a9987e591bdc3f9657d898e5 Mon Sep 17 00:00:00 2001 From: Moviuro Date: Sat, 13 Jun 2015 10:18:30 +0200 Subject: [PATCH] launch-dedicated.sh: add AllowPortForward directive --- launch-dedicated.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/launch-dedicated.sh b/launch-dedicated.sh index 110c19a5aa..a8fde06b15 100755 --- a/launch-dedicated.sh +++ b/launch-dedicated.sh @@ -7,9 +7,10 @@ DedicatedLoop="True" ListenPort="${ListenPort:-"1234"}" ExternalPort="${ExternalPort:-"1234"}" AdvertiseOnline="${AdvertiseOnline:-"False"}" +AllowPortForward="${AllowPortForward:-"False"}" while true; do mono --debug OpenRA.Game.exe Game.Mod=$Mod Server.Dedicated=$Dedicated Server.DedicatedLoop=$DedicatedLoop \ Server.Name="$Name" Server.ListenPort=$ListenPort Server.ExternalPort=$ExternalPort \ - Server.AdvertiseOnline=$AdvertiseOnline + Server.AdvertiseOnline=$AdvertiseOnline Server.AllowPortForward=$AllowPortForward done