mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
remove the test onMoreGames hook from MenuLayer
This commit is contained in:
parent
ed17f11979
commit
d809d5f939
1 changed files with 0 additions and 20 deletions
|
@ -160,24 +160,4 @@ $register_ids(MenuLayer) {
|
|||
this->addChild(middleLeftMenu);
|
||||
}
|
||||
|
||||
struct $modify(MenuLayer) {
|
||||
void onMoreGames(CCObject*) {
|
||||
auto thisDogFuckedUpBrah = CircleButtonSprite::createWithSpriteFrameName(
|
||||
"geode-logo-outline-gold.png"_spr,
|
||||
1.0f,
|
||||
CircleBaseColor::Green,
|
||||
CircleBaseSize::Medium2
|
||||
);
|
||||
|
||||
auto bottomMenu = static_cast<CCMenu*>(this->getChildByID("bottom-menu"));
|
||||
|
||||
auto btn = CCMenuItemSpriteExtra::create(
|
||||
thisDogFuckedUpBrah, this, nullptr
|
||||
);
|
||||
bottomMenu->addChild(btn);
|
||||
|
||||
bottomMenu->updateLayout();
|
||||
}
|
||||
};
|
||||
|
||||
// MenuLayer::init is hooked in ../hooks/MenuLayer.cpp
|
||||
|
|
Loading…
Reference in a new issue