Skip to content

Commit 211d719

Browse files
authored
Update modify.md
1 parent 0863a24 commit 211d719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/modify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ You might want to do this because your code may need to run before others ([Geod
158158
```cpp
159159
class $modify(GJGarageLayer) {
160160
static void onModify(auto& self) {
161-
self.setHookPriority("GJGarageLayer::init", 1024);
161+
self.setHookPriorityPost("GJGarageLayer::init", Priority::Early);
162162
}
163163

164164
bool init() {

0 commit comments

Comments
 (0)