Skip to content

Commit 4029821

Browse files
committed
Ported to Geode v4
1 parent d015096 commit 4029821

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v1.3.0
2+
3+
- Updated to Geode v4
4+
15
# v1.2.2
26

37
- Added MacOS support

mod.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"geode": "3.4.0",
2+
"geode": "4.0.0",
33
"gd": {
4-
"android": "2.206",
5-
"win": "2.206",
6-
"mac": "2.206"
4+
"android": "2.2074",
5+
"win": "2.2074",
6+
"mac": "2.2074"
77
},
8-
"version": "v1.2.2",
8+
"version": "v1.3.0",
99
"id": "omgrod.geodify",
1010
"name": "Geodify",
1111
"developers": ["OmgRod", "Viper"],
@@ -120,7 +120,7 @@
120120
},
121121
{
122122
"id": "alphalaneous.happy_textures",
123-
"importance": "required",
123+
"importance": "recommended",
124124
"version": ">=1.3.18"
125125
}
126126
]

src/Hooks/External_Mods_Manager.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ class $modify(CCDirector) {
7676
if (!Mod::get()->getSettingValue<bool>("external-mods")) {
7777
return;
7878
}
79-
if (CCLayer* child = getChildOfType<CCLayer>(scene, 0)) {
80-
std::string fc = getclass(child);
81-
#ifndef GITHUB_ACTIONS
82-
log::debug("{}", fc);
83-
#endif
84-
runhooks(child,fc);
79+
if (CCLayer* child = scene->getChildByType<CCLayer>(0)) {
80+
std::string fc = getclass(child);
81+
#ifndef GITHUB_ACTIONS
82+
log::debug("{}", fc);
83+
#endif
84+
runhooks(child, fc);
8585
}
8686
}
8787
};

src/modify/uproxide.textures/TextureWorkshopLayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "../../Hooks/Hooker.hpp"
44
class TextureWorkshopLayer : public Betterhook::HookBetter {
55
void init(CCNode* _This) override {
6-
if (CCSprite* bg = getChildOfType<CCSprite>(_This,0)) {
6+
if (CCSprite* bg = _This->getChildByType<CCSprite>(0)) {
77
bg->setVisible(false);
88
}
99

0 commit comments

Comments
 (0)