diff --git a/osu.Game/Graphics/ParticleSpewer.cs b/osu.Game/Graphics/ParticleSpewer.cs index 9cf3fb1882..37a4fe77bd 100644 --- a/osu.Game/Graphics/ParticleSpewer.cs +++ b/osu.Game/Graphics/ParticleSpewer.cs @@ -66,12 +66,13 @@ namespace osu.Game.Graphics { lastParticleAdded = Time.Current; spawnParticle(); + return; } - double timeElapsed = Math.Abs(Time.Current - lastParticleAdded.Value); + double timeElapsed = Time.Current - lastParticleAdded.Value; // Avoid spawning too many particles if a long amount of time has passed. - if (timeElapsed > maxDuration) + if (Math.Abs(timeElapsed) > maxDuration) { lastParticleAdded = Time.Current; spawnParticle();