File tree 2 files changed +18
-6
lines changed
2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "geode" : " 2.0.0-beta.23 " ,
2
+ "geode" : " 2.0.0-beta.24 " ,
3
3
"version" : " v1.3.6" ,
4
4
"gd" : {
5
5
"win" : " 2.204" ,
Original file line number Diff line number Diff line change @@ -21,13 +21,25 @@ class $modify (LevelPage)
21
21
}
22
22
};
23
23
24
- class $modify (GameStatsManager )
24
+ class $modify (LevelAreaInnerLayer )
25
25
{
26
- bool hasCompletedMainLevel ( int levelID )
26
+ bool init ( bool p0 )
27
27
{
28
- if (Client::GetModuleEnabled ( " tower-level-bypass " ) && levelID >= 5000 && levelID <= 5004 )
29
- return true ;
28
+ if (! LevelAreaInnerLayer::init (p0) )
29
+ return false ;
30
30
31
- return GameStatsManager::hasCompletedMainLevel (levelID);
31
+ auto v = getChildByTagRecursive (this , 5001 );
32
+
33
+ if (v)
34
+ {
35
+ CCArrayExt<CCMenuItemSpriteExtra*> objs = v->getParent ()->getChildren ();
36
+
37
+ for (auto child : objs)
38
+ {
39
+ child->setEnabled (true );
40
+ }
41
+ }
42
+
43
+ return true ;
32
44
}
33
45
};
You can’t perform that action at this time.
0 commit comments