From 922ffb5f6a0ce132cd55a2e2a19381fe50df4fe2 Mon Sep 17 00:00:00 2001 From: Alphalaneous <38200084+Alphalaneous@users.noreply.github.com> Date: Mon, 22 Jul 2024 19:08:15 -0400 Subject: [PATCH] mac L --- src/NodeModding.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/NodeModding.cpp b/src/NodeModding.cpp index eb550b5..82f5782 100644 --- a/src/NodeModding.cpp +++ b/src/NodeModding.cpp @@ -6,11 +6,17 @@ using namespace geode::prelude; #include modifyNodeForTypeCreate(CCSprite, create, (), ()); + +#ifndef GEODE_IS_MACOS modifyNodeForTypeCreate(CCSprite, createWithTexture, (CCTexture2D *p0, const CCRect& p1), (p0, p1)); +#endif + modifyNodeForTypeCreate(CCSprite, createWithSpriteFrame, (CCSpriteFrame *p0), (p0)); +#ifndef GEODE_IS_MACOS #include modifyNodeForType(CCMenu, initWithArray, (CCArray* p0), (p0)); +#endif #include modifyNodeForType(CCMenuItemSpriteExtra, init, (cocos2d::CCNode* p0, cocos2d::CCNode* p1, cocos2d::CCObject* p2, cocos2d::SEL_MenuHandler p3), (p0, p1, p2, p3));