Просмотр исходного кода

Merge remote-tracking branch 'origin/hotfix/v21.4.1' into hotfix/v21.4.1

Daniel Gibbs 4 лет назад
Родитель
Сommit
fc6a51d3f7
2 измененных файлов с 4 добавлено и 2 удалено
  1. 2 1
      lgsm/functions/info_game.sh
  2. 2 1
      lgsm/functions/info_messages.sh

+ 2 - 1
lgsm/functions/info_game.sh

@@ -1943,7 +1943,8 @@ fn_info_game_unt(){
 	# Parameters
 	servername=${selfname:-"NOT SET"}
 	port=${port:-"0"}
-	queryport=$((port+1))
+	queryport=${port}
+	steamport=$((port+1))
 }
 
 fn_info_game_ut(){

+ 2 - 1
lgsm/functions/info_messages.sh

@@ -800,7 +800,7 @@ fn_info_message_arma3(){
 		fn_port "header"
 		fn_port "Game" port udp
 		fn_port "Voice" voiceport udp
-		fn_port "Query Steam" queryport udp
+		fn_port "Query" queryport udp
 		fn_port "Steam Master" steammasterport udp
 		fn_port "Voice (unused)" voiceunusedport udp
 		fn_port "BattleEye" battleeyeport udp
@@ -1517,6 +1517,7 @@ fn_info_message_unt(){
 		fn_port "header"
 		fn_port "Game" port udp
 		fn_port "Query" queryport udp
+		fn_port "Steam" steamport udp
 	} | column -s $'\t' -t
 }