Skip to content

Commit a310741

Browse files
committed
backup changes
1 parent 32e7b36 commit a310741

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PlayLayer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class $modify(MyPlayLayer, PlayLayer) {
178178
if (theLastCCNode->getZOrder() != 100) continue;
179179
if (theLastCCNode->getChildrenCount() < 2) continue;
180180
if (getModBool("noVisibleNewBest")) return theLastCCNode->setVisible(false);
181-
if (!manager->deathAnimationsFromZilko) newBestNodeProbably = theLastCCNode;
181+
if (!isFromZilkoMod) newBestNodeProbably = theLastCCNode;
182182
else theLastCCNode->setVisible(false);
183183
break;
184184
}
@@ -189,7 +189,7 @@ class $modify(MyPlayLayer, PlayLayer) {
189189
if (!isFromZilkoMod) MyPlayLayer::applyNodeTraitsCustomization(newBestNodeProbably, hasDiamondsOrOrbs);
190190

191191
if (manager->hasNextKeyWhenLoaded && getModBool("currencyLayer") && getModBool("currencyLayerNextKeyWhenCompat") && !manager->addedNextKeyWhenLabel && m_level->m_stars.value() > 1) {
192-
if (hasOrbsLabel) {
192+
if (hasOrbsLabel || isFromZilkoMod) {
193193
CCLabelBMFont* nextKeyWhen = CCLabelBMFont::create(fmt::format("Key: {}/500", GameStatsManager::sharedState()->getTotalCollectedCurrency() % 500).c_str(), "bigFont.fnt");
194194
nextKeyWhen->setID("next-key-when-orbs-compat-label"_spr);
195195
nextKeyWhen->setTag(8042025);

0 commit comments

Comments
 (0)