diff --git a/loader/src/hooks/LoadingLayer.cpp b/loader/src/hooks/LoadingLayer.cpp index e660048a..7cc46ea2 100644 --- a/loader/src/hooks/LoadingLayer.cpp +++ b/loader/src/hooks/LoadingLayer.cpp @@ -203,7 +203,13 @@ struct CustomLoadingLayer : Modify { }; struct FallbackCustomLoadingLayer : Modify { - GEODE_FORWARD_COMPAT_ENABLE_HOOKS("") + static void onModify(const auto& self) { + GEODE_FORWARD_COMPAT_ENABLE_HOOKS_INNER("") + else if (!self.setHookPriority("CCLayer::init", geode::node_ids::GEODE_ID_PRIORITY)) { + log::warn("Failed to set CCLayer::init hook priority, node IDs may not work properly"); + } + } + bool init() { if (!CCLayer::init()) return false;