From f727f52658ebf4918d98a1a448b8c33ec5c0164a Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Sat, 13 May 2023 20:12:35 +0200 Subject: [PATCH] Animation - Fixed null reference exception in constructor --- PCK-Studio/Forms/Editor/Animation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCK-Studio/Forms/Editor/Animation.cs b/PCK-Studio/Forms/Editor/Animation.cs index d79f3468..c6733dc5 100644 --- a/PCK-Studio/Forms/Editor/Animation.cs +++ b/PCK-Studio/Forms/Editor/Animation.cs @@ -31,7 +31,7 @@ namespace PckStudio.Forms.Editor public Animation(IEnumerable frameTextures, string ANIM) { - this.textures = new List(textures); + this.textures = new List(frameTextures); ParseAnim(ANIM); }