reenable persist

This commit is contained in:
altalk23 2023-10-01 18:40:04 +03:00
parent d964048f2d
commit 6bd6c6b320

View file

@ -4,9 +4,9 @@ using namespace geode::prelude;
#include <Geode/modify/AchievementNotifier.hpp>
// struct SceneSwitch : Modify<SceneSwitch, AchievementNotifier> {
// void willSwitchToScene(CCScene* scene) {
// AchievementNotifier::willSwitchToScene(scene);
// SceneManager::get()->willSwitchToScene(scene);
// }
// };
struct SceneSwitch : Modify<SceneSwitch, AchievementNotifier> {
void willSwitchToScene(CCScene* scene) {
AchievementNotifier::willSwitchToScene(scene);
SceneManager::get()->willSwitchToScene(scene);
}
};