Преглед изворни кода

simplifying hurtworld checking

UltimateByte пре 10 година
родитељ
комит
e976f9b0e5
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 3
      functions/fn_details

+ 1 - 3
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}"