From e976f9b0e574babcddd8a0e19d17322239f7e3fe Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Tue, 22 Dec 2015 01:16:28 +0100 Subject: [PATCH] simplifying hurtworld checking --- functions/fn_details | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/functions/fn_details b/functions/fn_details index 66d2cfbdd..c85c96559 100644 --- a/functions/fn_details +++ b/functions/fn_details @@ -719,9 +719,7 @@ fn_details_statusbottom } if [ ! -e "${servercfgfullpath}" ]; then - if [ "${gamename}" == "Hurtworld" ]; then - echo "No config file set or required" - else + if [ "${gamename}" != "Hurtworld" ]; then echo "" fn_printwarnnl "\e[0;31mCONFIGURATION FILE MISSING!\e[0m" echo "${servercfgfullpath}"