From 29a60619d4a8c949e62ca22c982ffbcd9075b0cd Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 18 Jul 2018 15:56:06 +0100 Subject: [PATCH] Added "No fixes required" message --- lgsm/functions/fix.sh | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/lgsm/functions/fix.sh b/lgsm/functions/fix.sh index 4b4ce1b76..e67a0ab3f 100644 --- a/lgsm/functions/fix.sh +++ b/lgsm/functions/fix.sh @@ -71,17 +71,20 @@ if [ "${function_selfname}" == "command_install.sh" ]; then echo "Applying ${gamename} Server Fixes" echo "=================================" sleep 0.5 - if [ "${gamename}" == "Killing Floor" ]; then - fix_kf.sh - elif [ "${gamename}" == "Killing Floor 2" ]; then - fix_kf2.sh - elif [ "${gamename}" == "Red Orchestra: Ostfront 41-45" ]; then - fix_ro.sh - elif [ "${gamename}" == "Unreal Tournament 2004" ]; then - fix_ut2k4.sh - elif [ "${gamename}" == "Unreal Tournament" ]; then - fix_ut.sh - elif [ "${gamename}" == "Unreal Tournament 3" ]; then - fix_ut3.sh - fi + if [ "${gamename}" == "Killing Floor" ]; then + fix_kf.sh + elif [ "${gamename}" == "Killing Floor 2" ]; then + fix_kf2.sh + elif [ "${gamename}" == "Red Orchestra: Ostfront 41-45" ]; then + fix_ro.sh + elif [ "${gamename}" == "Unreal Tournament 2004" ]; then + fix_ut2k4.sh + elif [ "${gamename}" == "Unreal Tournament" ]; then + fix_ut.sh + elif [ "${gamename}" == "Unreal Tournament 3" ]; then + fix_ut3.sh + else + fn_print_information "No fixes required." + fi + fi