From c9d96b168ea2a19274ad7c766ab1a34b57baa793 Mon Sep 17 00:00:00 2001 From: Ian Harrigan Date: Mon, 9 Sep 2024 08:57:30 +0200 Subject: [PATCH] dont add null builders --- haxe/ui/animation/AnimationSequence.hx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/haxe/ui/animation/AnimationSequence.hx b/haxe/ui/animation/AnimationSequence.hx index 69a24288d..76883f3dc 100644 --- a/haxe/ui/animation/AnimationSequence.hx +++ b/haxe/ui/animation/AnimationSequence.hx @@ -11,6 +11,9 @@ class AnimationSequence { } public function add(builder:AnimationBuilder) { + if (builder == null) { + return; + } builders.push(builder); }