diff --git a/source/MonoGame.Extended/Particles/ParticleEffectWriter.cs b/source/MonoGame.Extended/Particles/ParticleEffectWriter.cs index f950b125..1013cd0b 100644 --- a/source/MonoGame.Extended/Particles/ParticleEffectWriter.cs +++ b/source/MonoGame.Extended/Particles/ParticleEffectWriter.cs @@ -139,7 +139,7 @@ public class ParticleEffectWriter : IDisposable private void WriteTexture2DRegion(Texture2DRegion region) { _writer.WriteAttributeString(nameof(Texture2DRegion.Texture.Name), region.Texture.Name); - _writer.WriteAttributeRectangle(nameof(Texture2DRegion.Texture.Bounds), region.Texture.Bounds); + _writer.WriteAttributeRectangle(nameof(Texture2DRegion.Bounds), region.Bounds); }