geode/loader/src/hooks/CCMenuItemActivateFix.cpp

12 lines
239 B
C++
Raw Normal View History

2024-03-10 19:37:03 -04:00
#include <Geode/Geode.hpp>
#include <Geode/modify/CCMenuItem.hpp>
using namespace geode::prelude;
class $modify(CCMenuItem) {
void activate() {
this->retain();
CCMenuItem::activate();
this->release();
}
};