Skip to content

Commit

Permalink
fix: 🐛 added missing static (#291)
Browse files Browse the repository at this point in the history
added the missing `static` to the methods in `ModLoaderModManager`

closes #289
  • Loading branch information
KANAjetzt authored Jun 21, 2023
1 parent 1683759 commit 0434f74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions addons/mod_loader/api/mod_manager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static func uninstall_script_extension(extension_script_path: String) -> void:
# Used to reload already present mods and load new ones*
#
# Returns: void
func reload_mods() -> void:
static func reload_mods() -> void:

# Currently this is the only thing we do, but it is better to expose
# this function like this for further changes
Expand All @@ -49,7 +49,7 @@ func reload_mods() -> void:
# handle removing all the changes that were not done through the Mod Loader*
#
# Returns: void
func disable_mods() -> void:
static func disable_mods() -> void:

# Currently this is the only thing we do, but it is better to expose
# this function like this for further changes
Expand All @@ -70,8 +70,8 @@ func disable_mods() -> void:
# - mod_data (ModData): The ModData object representing the mod to be disabled.
#
# Returns: void
func disable_mod(mod_data: ModData) -> void:
static func disable_mod(mod_data: ModData) -> void:

# Currently this is the only thing we do, but it is better to expose
# this function like this for further changes
ModLoader._disable_mod(mod_data)
ModLoader._disable_mod(mod_data)

0 comments on commit 0434f74

Please sign in to comment.