#include using namespace geode::prelude; #include struct SceneSwitch : Modify { GEODE_FORWARD_COMPAT_DISABLE_HOOKS("persist disabled") void willSwitchToScene(CCScene* scene) { AchievementNotifier::willSwitchToScene(scene); SceneManager::get()->willSwitchToScene(scene); } };