From e9ca0c54f266f3d13c3a2a4a4a9cfcec11365c3d Mon Sep 17 00:00:00 2001 From: Vortex <73261680+Vortex2Oblivion@users.noreply.github.com> Date: Fri, 8 Nov 2024 15:32:38 -0500 Subject: [PATCH] fix crash --- source/substates/ResultsSubstate.hx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/source/substates/ResultsSubstate.hx b/source/substates/ResultsSubstate.hx index a7ed676035..8153d36e02 100644 --- a/source/substates/ResultsSubstate.hx +++ b/source/substates/ResultsSubstate.hx @@ -348,10 +348,15 @@ class ResultsSubstate extends MusicBeatSubstate { // resultsAnim.zIndex = 1200; resultsAnim.antialiasing = Options.getData("antialiasing"); add(resultsAnim); - new FlxTimer().start(6 / 24, _ -> { - resultsAnim.visible = true; - resultsAnim.animation.play("result"); - }); + try{ + new FlxTimer().start(6 / 24, _ -> { + resultsAnim.visible = true; + resultsAnim.animation.play("result"); + }); + } + catch(e){ + + } ratingsPopin.animation.addByPrefix("idle", "Categories", 24, false); ratingsPopin.visible = false;