Skip to content

Commit

Permalink
change getModifiedDelta hook prio
Browse files Browse the repository at this point in the history
  • Loading branch information
theyareonit committed Jun 18, 2024
1 parent 761579a commit a0b80cb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v1.1.7

* Change getModifiedDelta hook priority for better compatibility with other mods

# v1.1.6

* Added a Physics Bypass equivalent because I didn't want to wait for MH Geode 2.206
Expand Down
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"gd": {
"win": "2.206"
},
"version": "v1.1.6",
"version": "v1.1.7",
"id": "syzzi.click_between_frames",
"name": "Click Between Frames",
"developer": "syzzi",
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ bool actualDelta;
class $modify(GJBaseGameLayer) {
static void onModify(auto & self) {
self.setHookPriority("GJBaseGameLayer::handleButton", INT_MIN);
self.setHookPriority("GJBaseGameLayer::getModifiedDelta", INT_MAX - 1);
self.setHookPriority("GJBaseGameLayer::getModifiedDelta", INT_MIN);
}

void handleButton(bool down, int button, bool isPlayer1) {
Expand Down

0 comments on commit a0b80cb

Please sign in to comment.