浏览代码

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}"