Skip to content

Commit

Permalink
Fix conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
hiimjustin000 committed Mar 7, 2024
1 parent 8d03cbc commit d014d3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/IDListLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,11 +332,11 @@ void IDListLayer::onExit(CCObject*) {
auto gm = GameManager::sharedState();
#ifdef GEODE_IS_WINDOWS
auto onlineType = *(int*)((uintptr_t)gm + 0x3d4);
#elif GEODE_IS_MACOS
#elif defined(GEODE_IS_MACOS)
auto onlineType = *(int*)((uintptr_t)gm + 0x4b8);
#elif GEODE_IS_ANDROID32
#elif defined(GEODE_IS_ANDROID32)
auto onlineType = *(int*)((uintptr_t)gm + 0x3bc);
#elif GEODE_IS_ANDROID64
#elif defined(GEODE_IS_ANDROID64)
auto onlineType = *(int*)((uintptr_t)gm + 0x4d8);
#else
auto onlineType = 0;
Expand Down

0 comments on commit d014d3c

Please sign in to comment.