Skip to content

Commit

Permalink
Merge pull request #4 from SGG-Modding/new_default
Browse files Browse the repository at this point in the history
update modutil usage
  • Loading branch information
nbusseneau authored Jun 3, 2024
2 parents 4fb8ee4 + 5f8ae1a commit bf836e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Template uses ModUtil `4.0.0` and `once_loaded.game` instead of `on_ready_final`.
- Use annotated tags instead of lightweight tags in release workflow.

## [0.6.1] - 2024-05-23
Expand Down
2 changes: 1 addition & 1 deletion src/src/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ end
local loader = reload.auto_single()

-- this runs only when modutil and the game's lua is ready
modutil.on_ready_final(function()
modutil.once_loaded.game(function()
loader.load(on_ready, on_reload)
end)
4 changes: 2 additions & 2 deletions src/thunderstore.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ containsNsfwContent = false

[package.dependencies]
Hell2Modding-Hell2Modding = "1.0.28"
SGG_Modding-ENVY = "1.0.1"
SGG_Modding-ENVY = "1.1.0"
SGG_Modding-Chalk = "2.0.2"
SGG_Modding-ReLoad = "1.0.1"
SGG_Modding-SJSON = "1.0.0"
SGG_Modding-ModUtil = "3.1.0"
SGG_Modding-ModUtil = "4.0.0"


[build]
Expand Down

0 comments on commit bf836e7

Please sign in to comment.