mirror of
https://github.com/ppy/osu
synced 2025-01-10 08:09:40 +00:00
Merge pull request #17743 from smoogipoo/fix-particle-spewer-nan
Fix ParticleSpewer outputting NaN values in vertices
This commit is contained in:
commit
f2e67d00cc
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user