From 695f39f6ae4d10a88929b4bdc336f980db9060b6 Mon Sep 17 00:00:00 2001 From: Jasmine <52604018+hiimjustin000@users.noreply.github.com> Date: Thu, 12 Dec 2024 16:23:18 -0500 Subject: [PATCH] macOS compatibility for the Modtober winner animation (#1190) no vaargs binding --- loader/src/ui/mods/events/EventWinnerAnimation.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/loader/src/ui/mods/events/EventWinnerAnimation.cpp b/loader/src/ui/mods/events/EventWinnerAnimation.cpp index 70aa4835e..5372dc6da 100644 --- a/loader/src/ui/mods/events/EventWinnerAnimation.cpp +++ b/loader/src/ui/mods/events/EventWinnerAnimation.cpp @@ -115,11 +115,12 @@ bool EventWinnerAnimation::init() { auto cloud = CCSprite::createWithSpriteFrameName("d_artCloud_03_001.png"); cloud->setColor(ccBLACK); cloud->runAction(CCSequence::create( - CCSpawn::create( - ShakeyWakey::create(2.f), - CCScaleTo::create(2.f, 2.f), - CCTintTo::create(2.f, 255, 255, 255), - nullptr + CCSpawn::createWithTwoActions( + CCSpawn::createWithTwoActions( + ShakeyWakey::create(2.f), + CCScaleTo::create(2.f, 2.f) + ), + CCTintTo::create(2.f, 255, 255, 255) ), nullptr ));