From 6983b98e9d2d5656ca5e940a83596b963c11d3c9 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 12 Jul 2023 18:57:18 +0100 Subject: [PATCH] refactor: update default value for adminpassword in fn_info_game_wurm The default value for the adminpassword variable in the fn_info_game_wurm function has been updated to "NOT SET" instead of "0". This change ensures that the admin password is properly initialized when not explicitly set. --- lgsm/modules/info_game.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/modules/info_game.sh b/lgsm/modules/info_game.sh index 2a2b21835..29164e591 100644 --- a/lgsm/modules/info_game.sh +++ b/lgsm/modules/info_game.sh @@ -2183,7 +2183,7 @@ fn_info_game_wmc() { fn_info_game_wurm() { gamemode="${gamemode:-"NOT SET"}" homekingdom="${homekingdom:-"0"}" - adminpassword="${adminpassword:-"0"}" + adminpassword="${adminpassword:-"NOT SET"}" epicsettings="${epicsettings:-"NOT SET"}" homeserver="${homeserver:-"NOT SET"}" loginserver="${loginserver:-"NOT SET"}"