Skip to content

Commit 695f39f

Browse files
macOS compatibility for the Modtober winner animation (#1190)
no vaargs binding
1 parent 9a752b2 commit 695f39f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

loader/src/ui/mods/events/EventWinnerAnimation.cpp

+6-5
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,12 @@ bool EventWinnerAnimation::init() {
115115
auto cloud = CCSprite::createWithSpriteFrameName("d_artCloud_03_001.png");
116116
cloud->setColor(ccBLACK);
117117
cloud->runAction(CCSequence::create(
118-
CCSpawn::create(
119-
ShakeyWakey::create(2.f),
120-
CCScaleTo::create(2.f, 2.f),
121-
CCTintTo::create(2.f, 255, 255, 255),
122-
nullptr
118+
CCSpawn::createWithTwoActions(
119+
CCSpawn::createWithTwoActions(
120+
ShakeyWakey::create(2.f),
121+
CCScaleTo::create(2.f, 2.f)
122+
),
123+
CCTintTo::create(2.f, 255, 255, 255)
123124
),
124125
nullptr
125126
));

0 commit comments

Comments
 (0)