File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 99#define manager Manager::getSharedInstance ()
1010
1111class $modify(MyPlayLayer, PlayLayer) {
12- static void onModify (auto & self) {
13- if (Loader::get ()->isModLoaded (" gdsrwave.jfp" )) (void ) self.setHookPriorityBeforePost (" PlayLayer::updateProgressbar" , " gdsrwave.jfp" );
14- }
1512 static std::string grabRandomQuote (std::vector<std::string> vector = manager->quotes ) {
1613 if (vector.empty ()) return " " ;
1714 static std::mt19937_64 engine (std::random_device{}());
@@ -41,8 +38,8 @@ class $modify(MyPlayLayer, PlayLayer) {
4138 PlayLayer::resetLevelFromStart ();
4239 Manager::getSharedInstance ()->lastDeathPercent = -10 .f ;
4340 }
44- void updateProgressbar () {
45- PlayLayer::updateProgressbar ();
41+ void updateInfoLabel () {
42+ PlayLayer::updateInfoLabel ();
4643 if (!getModBool (" enabled" ) || m_level->isPlatformer () || !m_player1->m_isDead || m_isPlatformer) return ;
4744 CCNode* newBestNodeProbably = nullptr ;
4845 bool hasOrbsLabel = false ;
You can’t perform that action at this time.
0 commit comments