1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 07:13:43 +08:00

Fix ParticleSpewer outputting NaN in vertices

This commit is contained in:
Dan Balasescu
2022-04-09 22:29:55 +09:00
Unverified
parent 2702f7b9f9
commit d482ab0287
+3
View File
@@ -109,6 +109,9 @@ namespace osu.Game.Graphics
{
foreach (var p in particles)
{
if (p.Duration == 0)
continue;
float timeSinceStart = currentTime - p.StartTime;
// ignore particles from the future.