mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 13:42:56 +08:00
Fix ParticleSpewer outputting NaN in vertices
This commit is contained in:
parent
2702f7b9f9
commit
d482ab0287
@ -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