mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-23 22:48:07 -05:00
ParticleEmitters aren't finished until they've emitted at least once (#3506)
Co-authored-by: nixx quality <nixx@is-fantabulo.us>
This commit is contained in:
@@ -88,7 +88,7 @@ public abstract class ParticleEmitter : Component, Component.ExecuteInEditor, Co
|
||||
}
|
||||
|
||||
bool IsStarted => time - Delay >= 0;
|
||||
bool IsFinished => time > (Duration + Delay);
|
||||
bool IsFinished => !burstPending && time > (Duration + Delay);
|
||||
|
||||
void OnParticleStep( float delta )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user