mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-03 04:36:55 -05:00
12 lines
351 B
C++
12 lines
351 B
C++
#include <Geode/ui/SceneManager.hpp>
|
|
|
|
USE_GEODE_NAMESPACE();
|
|
|
|
#include <Geode/modify/AchievementNotifier.hpp>
|
|
|
|
struct SceneSwitch : Modify<SceneSwitch, AchievementNotifier> {
|
|
void willSwitchToScene(CCScene* scene) {
|
|
AchievementNotifier::willSwitchToScene(scene);
|
|
SceneManager::get()->willSwitchToScene(scene);
|
|
}
|
|
};
|