diff --git a/lgsm/functions/core_functions.sh b/lgsm/functions/core_functions.sh index ad82b2186..b6f139ca1 100644 --- a/lgsm/functions/core_functions.sh +++ b/lgsm/functions/core_functions.sh @@ -357,6 +357,11 @@ functionfile="${FUNCNAME}" fn_fetch_function } +fix_terraria.sh(){ +functionfile="${FUNCNAME}" +fn_fetch_function +} + fix_tf2.sh(){ functionfile="${FUNCNAME}" fn_fetch_function diff --git a/lgsm/functions/fix.sh b/lgsm/functions/fix.sh index 3eae6c91d..ba83b9820 100644 --- a/lgsm/functions/fix.sh +++ b/lgsm/functions/fix.sh @@ -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 diff --git a/lgsm/functions/fix_terraria.sh b/lgsm/functions/fix_terraria.sh new file mode 100644 index 000000000..1a898d046 --- /dev/null +++ b/lgsm/functions/fix_terraria.sh @@ -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