Browse Source

fixed bug with fn_unreal2config if statement

pull/254/merge
Daniel Gibbs 10 years ago
parent
commit
8d9eb3b584
  1. 6
      functions/fn_serverconfig

6
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

Loading…
Cancel
Save