Browse Source

fix: servername variable assignment for sf and unt

The servername variable was incorrectly assigned using the selfname variable instead of the correct servername variable. This has been fixed to ensure accurate information is displayed for each game type.
pull/4472/head
Daniel Gibbs 1 year ago
parent
commit
3464d334b4
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 4
      lgsm/modules/info_game.sh

4
lgsm/modules/info_game.sh

@ -1978,7 +1978,7 @@ fn_info_game_sdtd() {
# Config Type: Parameters (with an ini)
fn_info_game_sf() {
# Parameters
servername="${selfname:-"NOT SET"}"
servername="${servername:-"NOT SET"}"
port="${port:-"0"}"
queryport="${queryport:-"0"}"
beaconport="${beaconport:-"0"}"
@ -2131,7 +2131,7 @@ fn_info_game_tw() {
# Config Type: Parameters
fn_info_game_unt() {
servername="${selfname:-"NOT SET"}"
servername="${servername:-"NOT SET"}"
port="${port:-"0"}"
queryport="${port}"
steamport="$((port + 1))"

Loading…
Cancel
Save