Browse Source

fix(tw): correct game info

pull/4341/head
Daniel Gibbs 2 years ago
parent
commit
622e2869b1
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 10
      lgsm/modules/info_game.sh

10
lgsm/modules/info_game.sh

@ -2060,11 +2060,11 @@ fn_info_game_terraria() {
# Filetype: cfg # Filetype: cfg
fn_info_game_tw() { fn_info_game_tw() {
if [ -f "${servercfgfullpath}" ]; then if [ -f "${servercfgfullpath}" ]; then
fn_info_game_quakec "servername" "sv_name" fn_info_game_keyvalue_pairs_space "servername" "sv_name"
fn_info_game_quakec "serverpassword" "password" fn_info_game_keyvalue_pairs_space "serverpassword" "password"
fn_info_game_quakec "rconpassword" "sv_rcon_password" fn_info_game_keyvalue_pairs_space "rconpassword" "sv_rcon_password"
fn_info_game_quakec "port" "sv_port" fn_info_game_keyvalue_pairs_space "port" "sv_port"
fn_info_game_quakec "maxplayers" "sv_max_clients" fn_info_game_keyvalue_pairs_space "maxplayers" "sv_max_clients"
fi fi
queryport="${port}" queryport="${port}"
servername="${servername:-"NOT SET"}" servername="${servername:-"NOT SET"}"

Loading…
Cancel
Save