Skip to content

Commit

Permalink
fix: Update function name and arguments in info_game.sh
Browse files Browse the repository at this point in the history
The fn_info_config_ini function was renamed to fn_info_game_ini for consistency with other functions. The function arguments were also updated to match the new naming convention.
  • Loading branch information
dgibbs64 committed May 29, 2023
1 parent 5c011df commit 19dc1fb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lgsm/modules/info_game.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1954,11 +1954,11 @@ fn_info_game_sof2() {
# Filetype: ini
fn_info_game_sol() {
if [ -f "${servercfgfullpath}" ]; then
fn_info_config_ini "adminpassword" "Admin_Password"
fn_info_config_ini "maxplayers" "Max_Players"
fn_info_config_ini "port" "Port"
fn_info_config_ini "servername" "Server_Name"
fn_info_config_ini "serverpassword" "Game_Password"
fn_info_game_ini "adminpassword" "Admin_Password"
fn_info_game_ini "maxplayers" "Max_Players"
fn_info_game_ini "port" "Port"
fn_info_game_ini "servername" "Server_Name"
fn_info_game_ini "serverpassword" "Game_Password"
fi
adminpassword="${adminpassword:-"NOT SET"}"
maxplayers="${maxplayers:-"0"}"
Expand Down

0 comments on commit 19dc1fb

Please sign in to comment.