From 6a124599f3adf6a229f0d2346109e96a7f2ee821 Mon Sep 17 00:00:00 2001 From: elnexreal <40328573+elnexreal@users.noreply.github.com> Date: Wed, 26 Jun 2024 19:17:35 -0300 Subject: [PATCH] disabled sequence to test if it still crashes --- src/main.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index b073f2a..ea677ef 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -71,13 +71,13 @@ struct MenuLayerHook : Modify { card->setPosition(defaultPos); this->addChild(card); - auto sequence = CCSequence::create( - CCEaseInOut::create(CCMoveTo::create(1.5f, {posx, posy - 25.0f}), 2.0f), - CCDelayTime::create(0.5f), - CCEaseInOut::create(CCMoveTo::create(1.5f, {posx, posy}), 2.0f), - nullptr - ); - card->runAction(sequence); + // auto sequence = CCSequence::create( + // CCEaseInOut::create(CCMoveTo::create(1.5f, {posx, posy - 25.0f}), 2.0f), + // CCDelayTime::create(0.5f), + // CCEaseInOut::create(CCMoveTo::create(1.5f, {posx, posy}), 2.0f), + // nullptr + // ); + // card->runAction(sequence); } return true;