diff --git a/UndertaleModTool/Controls/UndertaleRoomRenderer.xaml.cs b/UndertaleModTool/Controls/UndertaleRoomRenderer.xaml.cs index 4b5e9d1d7..60ae220f2 100644 --- a/UndertaleModTool/Controls/UndertaleRoomRenderer.xaml.cs +++ b/UndertaleModTool/Controls/UndertaleRoomRenderer.xaml.cs @@ -66,9 +66,8 @@ private void RoomRenderer_DataContextChanged(object sender, DependencyPropertyCh { if (layer.AssetsData.ParticleSystems is not null) { - var particleSystems = Enumerable.Empty(); - particleSystems = layer.AssetsData.ParticleSystems.Select(x => x.ParticleSystem); - ParticleSystemRectConverter.Initialize(particleSystems); + var particleSystems = layer.AssetsData.ParticleSystems.Select(x => x.ParticleSystem); + ParticleSystemRectConverter.Initialize(particleSystems); } }