Skip to content

Commit e3ccaa6

Browse files
committed
move
1 parent 5a768e6 commit e3ccaa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EndLevelLayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ using namespace geode::prelude;
1414

1515
class $modify(MyEndLevelLayer, EndLevelLayer) {
1616
void fakeUpdateFunction(float) {
17-
this->setCascadeOpacityEnabled(false);
1817
this->setOpacity(managerMacro->backdropOpacity);
1918
}
2019
CCSprite* getHideButtonSprite() {
@@ -102,6 +101,7 @@ class $modify(MyEndLevelLayer, EndLevelLayer) {
102101
}
103102
if (const int opacity = std::clamp<int>(getModInt("backdropOpacity"), 0, 255); opacity != 100) {
104103
managerMacro->backdropOpacity = opacity;
104+
this->setCascadeOpacityEnabled(false);
105105
this->schedule(schedule_selector(MyEndLevelLayer::fakeUpdateFunction));
106106
}
107107
}

0 commit comments

Comments
 (0)