add CCMenuItem::activate fix

This commit is contained in:
Cvolton 2024-03-11 00:37:03 +01:00
parent d90bfdd1d1
commit 005d245351
No known key found for this signature in database

View file

@ -0,0 +1,12 @@
#include <Geode/Geode.hpp>
#include <Geode/modify/CCMenuItem.hpp>
using namespace geode::prelude;
class $modify(CCMenuItem) {
void activate() {
this->retain();
CCMenuItem::activate();
this->release();
}
};