mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
reenable persist
This commit is contained in:
parent
d964048f2d
commit
6bd6c6b320
1 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue