Skip to content

Commit 622e286

Browse files
committed
fix(tw): correct game info
1 parent 928de3b commit 622e286

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lgsm/modules/info_game.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2060,11 +2060,11 @@ fn_info_game_terraria() {
20602060
# Filetype: cfg
20612061
fn_info_game_tw() {
20622062
if [ -f "${servercfgfullpath}" ]; then
2063-
fn_info_game_quakec "servername" "sv_name"
2064-
fn_info_game_quakec "serverpassword" "password"
2065-
fn_info_game_quakec "rconpassword" "sv_rcon_password"
2066-
fn_info_game_quakec "port" "sv_port"
2067-
fn_info_game_quakec "maxplayers" "sv_max_clients"
2063+
fn_info_game_keyvalue_pairs_space "servername" "sv_name"
2064+
fn_info_game_keyvalue_pairs_space "serverpassword" "password"
2065+
fn_info_game_keyvalue_pairs_space "rconpassword" "sv_rcon_password"
2066+
fn_info_game_keyvalue_pairs_space "port" "sv_port"
2067+
fn_info_game_keyvalue_pairs_space "maxplayers" "sv_max_clients"
20682068
fi
20692069
queryport="${port}"
20702070
servername="${servername:-"NOT SET"}"

0 commit comments

Comments
 (0)