Skip to content

Commit

Permalink
fix: servername variable assignment for sf and unt
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dgibbs64 committed Jan 24, 2024
1 parent 84b023a commit 3464d33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lgsm/modules/info_game.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"}"
Expand Down Expand Up @@ -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))"
Expand Down

0 comments on commit 3464d33

Please sign in to comment.