Skip to content

Commit

Permalink
Update CCMenuItemSpriteExtra.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Alphalaneous committed May 22, 2024
1 parent 7a47293 commit 12cf6d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nodes/CCMenuItemSpriteExtra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 12cf6d0

Please sign in to comment.