1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 21:52:57 +08:00

Merge pull request #17743 from smoogipoo/fix-particle-spewer-nan

Fix ParticleSpewer outputting NaN values in vertices
This commit is contained in:
Dean Herbert
2022-04-09 23:06:14 +09:00
committed by GitHub
Unverified
+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.