From 331a690b78389e7a5129f60468304749b148c950 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Mon, 22 Sep 2025 10:13:12 +0200 Subject: [PATCH] fix: balloon_manager.cpp conflicto al crear los globos y detener el tiempo --- source/balloon_manager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/balloon_manager.cpp b/source/balloon_manager.cpp index 2562815..f97e900 100644 --- a/source/balloon_manager.cpp +++ b/source/balloon_manager.cpp @@ -346,7 +346,9 @@ auto BalloonManager::destroyAllBalloons() -> int { // Detiene todos los globos void BalloonManager::stopAllBalloons() { for (auto &balloon : balloons_) { - balloon->stop(); + if (!balloon->isBeingCreated()) { + balloon->stop(); + } } }