1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 19:27:24 +08:00

Fix ParticleSpewer outputting NaN in vertices

This commit is contained in:
Dan Balasescu 2022-04-09 22:29:55 +09:00
parent 2702f7b9f9
commit d482ab0287

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.