mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-04 05:01:06 -05:00
12 lines
301 B
C++
12 lines
301 B
C++
|
#include <Geode/Geode.hpp>
|
||
|
#include <Geode/ui/SceneManager.hpp>
|
||
|
|
||
|
USE_GEODE_NAMESPACE();
|
||
|
|
||
|
class $modify(AchievementNotifier) {
|
||
|
void willSwitchToScene(CCScene* scene) {
|
||
|
AchievementNotifier::willSwitchToScene(scene);
|
||
|
SceneManager::get()->willSwitchToScene(scene);
|
||
|
}
|
||
|
};
|