Browse Source

fix: Update function name and arguments in info_game.sh

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.
pull/4220/head
Daniel Gibbs 2 years ago
parent
commit
19dc1fbf34
  1. 10
      lgsm/modules/info_game.sh

10
lgsm/modules/info_game.sh

@ -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"}"

Loading…
Cancel
Save