File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ fn_info_game_armar() {
97
97
if [ ! -f " ${servercfgfullpath} " ]; then
98
98
adminpassword=" ${unavailable} "
99
99
maxplayers=" ${zero} "
100
- port=${port :- " 0 " }
101
- queryport=
100
+ port=" ${zero} "
101
+ queryport=" ${zero} "
102
102
servername=" ${unavailable} "
103
103
serverpassword=" ${unavailable} "
104
104
else
@@ -107,7 +107,7 @@ fn_info_game_armar() {
107
107
configip=$( jq -r ' .bindAddress' " ${servercfgfullpath} " )
108
108
maxplayers=$( jq -r ' .game.maxPlayers' " ${servercfgfullpath} " )
109
109
port=$( jq -r ' .bindPort' " ${servercfgfullpath} " )
110
- queryport=$( jq -r ' .steamQueryPort ' " ${servercfgfullpath} " )
110
+ queryport=$( jq -r ' .a2s.port ' " ${servercfgfullpath} " )
111
111
servername=$( jq -r ' .game.name' " ${servercfgfullpath} " )
112
112
serverpassword=$( jq -r ' .game.password' " ${servercfgfullpath} " )
113
113
Original file line number Diff line number Diff line change @@ -876,7 +876,7 @@ fn_info_game_armar() {
876
876
fn_info_game_json " configip" " .bindAddress"
877
877
fn_info_game_json " maxplayers" " .game.maxPlayers"
878
878
fn_info_game_json " port" " .bindPort"
879
- fn_info_game_json " queryport" " .steamQueryPort "
879
+ fn_info_game_json " queryport" " .a2s.port "
880
880
fn_info_game_json " servername" " .game.name"
881
881
fn_info_game_json " serverpassword" " .game.password"
882
882
fi
You can’t perform that action at this time.
0 commit comments