From 8d9eb3b584f88ba2fb26e5fa39b1c79696c359f2 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 4 Dec 2014 00:06:26 +0000 Subject: [PATCH] fixed bug with fn_unreal2config if statement --- functions/fn_serverconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/fn_serverconfig b/functions/fn_serverconfig index 83ed53f16..58199ee9c 100644 --- a/functions/fn_serverconfig +++ b/functions/fn_serverconfig @@ -129,9 +129,9 @@ sed -i 's/AdminPassword=/AdminPassword=admin/g' "${systemdir}/${ini}" sleep 1 echo "enabling WebAdmin" sed -i 's/bEnabled=False/bEnabled=True/g' "${systemdir}/${ini}" -elif [ "${gamename}" == "Unreal Tournament 2004" ]; then -sleep 1 -echo "setting WebAdmin port to 8075." +if [ "${gamename}" == "Unreal Tournament 2004" ]; then + sleep 1 + echo "setting WebAdmin port to 8075." sed -i 's/ListenPort=80/ListenPort=8075/g' "${systemdir}/${ini}" fi sleep 1