瀏覽代碼

fix(wmcserver): fix not being able to read query port (#3982)

queryport was being overwritten with rconpassword or "NOT SET"
Xenorio 3 年之前
父節點
當前提交
d3cdf63d94
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lgsm/functions/info_game.sh

+ 1 - 1
lgsm/functions/info_game.sh

@@ -2264,7 +2264,7 @@ fn_info_game_wmc() {
 
 		# Not set
 		servername=${servername:-"NOT SET"}
-		queryport=${rconpassword:-"NOT SET"}
+		queryport=${queryport:-"25577"}
 		maxplayers=${maxplayers:-"0"}
 		configip=${configip:-"0.0.0.0"}
 	fi