@@ -357,6 +357,11 @@ functionfile="${FUNCNAME}"
fn_fetch_function
}
+fix_terraria.sh(){
+functionfile="${FUNCNAME}"
+fn_fetch_function
+}
+
fix_tf2.sh(){
functionfile="${FUNCNAME}"
@@ -63,6 +63,8 @@ if [ "${function_selfname}" != "command_install.sh" ]&&[ -z "${fixbypass}" ]; th
fix_ss3.sh
elif [ "${shortname}" == "tf2" ]; then
fix_tf2.sh
+ elif [ "${shortname}" == "terraria" ]; then
+ fix_terraria.sh
elif [ "${shortname}" == "ts3" ]; then
fix_ts3.sh
elif [ "${shortname}" == "mta" ]; then
@@ -0,0 +1,11 @@
+#!/bin/bash
+# LinuxGSM fix_terraria.sh function
+# Author: Daniel Gibbs
+# Website: https://linuxgsm.com
+# Description: Resolves an issue with Terraria.
+local commandname="FIX"
+local commandaction="Fix"
+local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
+export TERM=xterm