Skip to content

Commit

Permalink
fix GauntletSelectLayer hook prio
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton authored Apr 9, 2024
1 parent cc3797d commit 20b5e52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GauntletSelectLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ using namespace geode::node_ids;

struct GauntletSelectLayerIDs : Modify<GauntletSelectLayerIDs, GauntletSelectLayer> {
static void onModify(auto& self) {
if (!self.setHookPriority("GauntletSelectLayer::create", GEODE_ID_PRIORITY)) {
log::warn("Failed to set GauntletSelectLayer::create hook priority, node IDs may not work properly");
if (!self.setHookPriority("GauntletSelectLayer::init", GEODE_ID_PRIORITY)) {
log::warn("Failed to set GauntletSelectLayer::init hook priority, node IDs may not work properly");
}
}

Expand Down

0 comments on commit 20b5e52

Please sign in to comment.