Skip to content

Commit

Permalink
h
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Feb 7, 2024
1 parent c1809e1 commit 12f44f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Replay/Replay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,16 @@ class $modify (PauseLayer)
{
PauseLayer::customSetup();

return;

auto s = CCSprite::create("replay.png"_spr);
s->setScale(CCDirector::get()->getContentScaleFactor() * 0.5f);

auto btn = CCMenuItemSpriteExtra::create(s, this, nullptr);

auto m = CCMenu::create();
m->setContentSize(ccp(0, 0));
m->setScale(0.25f);
m->addChild(btn);
this->addChild(m);
}
Expand Down

0 comments on commit 12f44f0

Please sign in to comment.