Skip to content

Commit bf836e7

Browse files
authored
Merge pull request #4 from SGG-Modding/new_default
update modutil usage
2 parents 4fb8ee4 + 5f8ae1a commit bf836e7

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

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

1415
## [0.6.1] - 2024-05-23

src/src/main.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ end
5656
local loader = reload.auto_single()
5757

5858
-- this runs only when modutil and the game's lua is ready
59-
modutil.on_ready_final(function()
59+
modutil.once_loaded.game(function()
6060
loader.load(on_ready, on_reload)
6161
end)

src/thunderstore.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ containsNsfwContent = false
1212

1313
[package.dependencies]
1414
Hell2Modding-Hell2Modding = "1.0.28"
15-
SGG_Modding-ENVY = "1.0.1"
15+
SGG_Modding-ENVY = "1.1.0"
1616
SGG_Modding-Chalk = "2.0.2"
1717
SGG_Modding-ReLoad = "1.0.1"
1818
SGG_Modding-SJSON = "1.0.0"
19-
SGG_Modding-ModUtil = "3.1.0"
19+
SGG_Modding-ModUtil = "4.0.0"
2020

2121

2222
[build]

0 commit comments

Comments
 (0)