Skip to content

Commit

Permalink
fix(kf2): repair port parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Dec 3, 2023
1 parent 38079ba commit 7a72c04
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 @@ -525,10 +525,10 @@ fn_info_game_kf2() {
if [ -f "${servercfgfullpath}" ]; then
fn_info_game_ini "adminpassword" "AdminPassword"
fn_info_game_ini "httpport" "ListenPort" "${servercfgdir}/KFWeb.ini"
fn_info_game_ini "port" "Port"
fn_info_game_ini "port" "Port" "${servercfgdir}/LinuxServer-KFEngine.ini"
fn_info_game_ini "servername" "ServerName"
fn_info_game_ini "serverpassword" "GamePassword"
fn_info_game_ini "httpenabled" "bEnabled"
fn_info_game_ini "httpenabled" "bEnabled" "${servercfgdir}/KFWeb.ini"
fn_info_game_ini "httppassword" "httppasswordword"
fi
adminpassword="${adminpassword:-"NOT SET"}"
Expand Down

0 comments on commit 7a72c04

Please sign in to comment.