Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Aug 8, 2024
1 parent be11dba commit cac1290
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Client/AndroidBall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,19 @@ class $modify (CCScene)
}
};

#ifdef GEODE_IS_IOS
class $modify (AchievementNotifier)
#else
class $modify (AppDelegate)
#endif
{
void willSwitchToScene(CCScene* newScene)
{
#ifdef GEODE_IS_IOS
AchievementNotifier::willSwitchToScene(newScene);
#else
AppDelegate::willSwitchToScene(newScene);
#endif

if (!newScene)
return;
Expand Down
1 change: 1 addition & 0 deletions src/Client/AndroidBall.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <Geode/Geode.hpp>
#include <Geode/modify/AppDelegate.hpp>
#include <Geode/modify/AchievementNotifier.hpp>
#include <Geode/modify/CCTouchDispatcher.hpp>
#include <Geode/modify/CCScene.hpp>
#include "Client.h"
Expand Down

0 comments on commit cac1290

Please sign in to comment.