Skip to content

Commit e413a37

Browse files
committed
fix crash
1 parent 8460847 commit e413a37

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Styles/TheVault.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#ifndef GEODE_IS_IOS
21
#include "../includes.h"
32
#include <Geode/modify/SecretLayer.hpp>
43

@@ -26,4 +25,3 @@ class $modify(SecretLayer) {
2625
return true;
2726
}
2827
};
29-
#endif

src/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,8 @@ class EventHandler : public CCObject {
558558
};
559559

560560
// Backgrounds
561+
// i dont like ios
562+
#ifndef GEODE_IS_IOS
561563
class $modify(UtilCCSprite, CCSprite) {
562564
static CCSprite* create(char const* name) {
563565
auto ret = CCSprite::create(name);
@@ -667,6 +669,7 @@ class $modify(UtilCCScale9, cocos2d::extension::CCScale9Sprite) {
667669
return ret;
668670
}
669671
};
672+
#endif
670673

671674
//bool is_dailychest_ready = false;
672675
bool is_socketserver_started = false;

0 commit comments

Comments
 (0)