Browse Source

refactor: shorten module update function names

The commit renames the update functions for several game modules to shorter names. The new names are more concise and easier to remember, which should improve code readability and maintainability.
pull/4298/head
Daniel Gibbs 2 years ago
parent
commit
8df33be740
  1. 12
      lgsm/modules/core_modules.sh
  2. 0
      lgsm/modules/update_fctr.sh
  3. 0
      lgsm/modules/update_jk2.sh
  4. 0
      lgsm/modules/update_mc.sh
  5. 0
      lgsm/modules/update_mcb.sh
  6. 0
      lgsm/modules/update_pmc.sh
  7. 0
      lgsm/modules/update_vints.sh

12
lgsm/modules/core_modules.sh

@ -645,17 +645,17 @@ update_ts3.sh() {
fn_fetch_module
}
update_minecraft.sh() {
update_mc.sh() {
modulefile="${FUNCNAME[0]}"
fn_fetch_module
}
update_minecraft_bedrock.sh() {
update_mcb.sh() {
modulefile="${FUNCNAME[0]}"
fn_fetch_module
}
update_papermc.sh() {
update_pmc.sh() {
modulefile="${FUNCNAME[0]}"
fn_fetch_module
}
@ -665,12 +665,12 @@ update_mta.sh() {
fn_fetch_module
}
update_factorio.sh() {
update_fctr.sh() {
modulefile="${FUNCNAME[0]}"
fn_fetch_module
}
update_jediknight2.sh() {
update_jk2.sh() {
modulefile="${FUNCNAME[0]}"
fn_fetch_module
}
@ -680,7 +680,7 @@ update_steamcmd.sh() {
fn_fetch_module
}
update_vintagestory.sh() {
update_vints.sh() {
modulefile="${FUNCNAME[0]}"
fn_fetch_module
}

0
lgsm/modules/update_factorio.sh → lgsm/modules/update_fctr.sh

0
lgsm/modules/update_jediknight2.sh → lgsm/modules/update_jk2.sh

0
lgsm/modules/update_minecraft.sh → lgsm/modules/update_mc.sh

0
lgsm/modules/update_minecraft_bedrock.sh → lgsm/modules/update_mcb.sh

0
lgsm/modules/update_papermc.sh → lgsm/modules/update_pmc.sh

0
lgsm/modules/update_vintagestory.sh → lgsm/modules/update_vints.sh

Loading…
Cancel
Save