From 12cf6d0563841c7944575f1bfe3c12a65919e96f Mon Sep 17 00:00:00 2001 From: Alphalaneous <38200084+Alphalaneous@users.noreply.github.com> Date: Wed, 22 May 2024 04:03:08 -0400 Subject: [PATCH] Update CCMenuItemSpriteExtra.cpp --- src/nodes/CCMenuItemSpriteExtra.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nodes/CCMenuItemSpriteExtra.cpp b/src/nodes/CCMenuItemSpriteExtra.cpp index 023cd68..5cfed30 100644 --- a/src/nodes/CCMenuItemSpriteExtra.cpp +++ b/src/nodes/CCMenuItemSpriteExtra.cpp @@ -79,7 +79,9 @@ void EventCCMenuItemSpriteExtra::activate(){ CCMenuItemSpriteExtra* EventCCMenuItemSpriteExtra::create(cocos2d::CCNode* p0, cocos2d::CCNode* p1, cocos2d::CCObject* p2, cocos2d::SEL_MenuHandler p3){ auto ret = CCMenuItemSpriteExtra::create(p0, p1, p2, p3); +#ifndef GEODE_IS_ANDROID ret->schedule(schedule_selector(EventCCMenuItemSpriteExtra::checkTouch), 1/30); +#endif return ret; }