Skip to content

Commit

Permalink
remove unnecessary profilepage hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Jan 13, 2024
1 parent 703d00d commit e387b92
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/hooks/ProfilePage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class $modify(BIProfilePage, ProfilePage) {
leftMenu->updateLayout();
}

/*if(auto playerMenu = m_mainLayer->getChildByID("player-menu")) {
if(auto playerMenu = m_mainLayer->getChildByID("player-menu")) {
SimplePlayer* playerJetpack = SimplePlayer::create(m_score->m_playerJetpack);
playerJetpack->updatePlayerFrame(m_score->m_playerJetpack, IconType::Jetpack);
playerJetpack->setColor(GM->colorForIdx(m_score->m_color1));
Expand All @@ -139,7 +139,7 @@ class $modify(BIProfilePage, ProfilePage) {
playerMenu->updateLayout();

this->m_buttons->addObject(jetpackContainer);
}*/
}


/*if(auto playerShip = m_mainLayer->getChildByID("player-ship")) {
Expand Down Expand Up @@ -292,10 +292,4 @@ class $modify(BIProfilePage, ProfilePage) {

ProfilePage::onClose(sender);
}

void keyBackClicked() {
BetterInfoOnline::sharedState()->m_scoreProfilePage = nullptr;

ProfilePage::keyBackClicked();
}
};

0 comments on commit e387b92

Please sign in to comment.