From 824674922fec97c7fad8bf3660d51e8badb2518b Mon Sep 17 00:00:00 2001 From: Auric Vente Date: Sun, 28 Jul 2024 23:51:28 -0600 Subject: [PATCH] Mods --- cromulant/game.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cromulant/game.py b/cromulant/game.py index 6e732dc..791d521 100644 --- a/cromulant/game.py +++ b/cromulant/game.py @@ -596,10 +596,10 @@ class Game: animation.setEndValue(1) animation.setEasingCurve(QEasingCurve.InOutQuad) - def on_animation_finished() -> None: + def on_finish() -> None: item.setGraphicsEffect(None) Game.animations.remove(animation) - animation.finished.connect(on_animation_finished) + animation.finished.connect(on_finish) Game.animations.append(animation) return animation