Skip to content

Commit

Permalink
remove nonsensical loadlevelfinish hook prio
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Nov 26, 2024
1 parent 4700350 commit 8acd094
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/LevelAreaLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ struct LevelAreaLayerIDs : Modify<LevelAreaLayerIDs, LevelAreaLayer> {
if (!self.setHookPriority("LevelAreaLayer::init", GEODE_ID_PRIORITY)) {
log::warn("Failed to set LevelAreaLayer::init hook priority, node IDs may not work properly");
}
if (!self.setHookPriority("LevelAreaLayer::loadLevelsFinished", GEODE_ID_PRIORITY)) {
log::warn("Failed to set LevelAreaLayer::loadLevelsFinished hook priority, node IDs may not work properly");
}
}

virtual bool init() {
Expand Down
3 changes: 0 additions & 3 deletions src/SecretLayer6.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ struct SecretLayer6IDs : Modify<SecretLayer6IDs, SecretLayer6> {
if (!self.setHookPriority("SecretLayer6::init", GEODE_ID_PRIORITY)) {
log::warn("Failed to set SecretLayer6::init hook priority, node IDs may not work properly");
}
if (!self.setHookPriority("SecretLayer6::loadLevelsFinished", GEODE_ID_PRIORITY)) {
log::warn("Failed to set SecretLayer6::loadLevelsFinished hook priority, node IDs may not work properly");
}
}

virtual bool init() {
Expand Down

0 comments on commit 8acd094

Please sign in to comment.