diff --git a/lgsm/functions/fix.sh b/lgsm/functions/fix.sh index f31c010d7..365809b9b 100644 --- a/lgsm/functions/fix.sh +++ b/lgsm/functions/fix.sh @@ -43,6 +43,8 @@ if [ "${function_selfname}" != "command_install.sh" ]; then fix_ins.sh elif [ "${gamename}" == "ARMA 3" ]; then fix_arma3.sh + elif [ "${gamename}" == "ARMA 3" ]; then + fix_ut.sh fi fi @@ -72,5 +74,11 @@ if [ "${function_selfname}" == "command_install.sh" ]; then echo "=================================" sleep 1 fix_ut99.sh + elif [ "${gamename}" == "Unreal Tournament" ]; then + echo "" + echo "Applying ${gamename} Server Fixes" + echo "=================================" + sleep 1 + fix_ut.sh fi fi diff --git a/lgsm/functions/fix_ut.sh b/lgsm/functions/fix_ut.sh new file mode 100644 index 000000000..74233406f --- /dev/null +++ b/lgsm/functions/fix_ut.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# LGSM fix_ut.sh function +# Author: Alexander Hurd +# Website: https://gameservermanagers.com +# Description: Resolves various issues with Unreal Tournament. + +local commandname="FIX" +local commandaction="Fix" +local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" + +#Set Binary Executable +echo "chmod +x ${executabledir}/${executable}" +chmod +x "${executabledir}/${executable}" +sleep 1 \ No newline at end of file