Alexander Hurd 9 лет назад
Родитель
Сommit
97f3e63c8c
2 измененных файлов с 22 добавлено и 0 удалено
  1. 8 0
      lgsm/functions/fix.sh
  2. 14 0
      lgsm/functions/fix_ut.sh

+ 8 - 0
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

+ 14 - 0
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