Fixed issue: Despite the docs saying that the emitters will emit infinitely if emitterLifetimeprop is set to "-1", they will do so if emitterLifetimeprop is set to "0" as well.
This also handles the rare case that during emitting this._emitterLife can be calculated to be "0". In which case the emitting can unintentionally become infinite.
Fixed issue: Despite the docs saying that the emitters will emit infinitely if
emitterLifetime
prop is set to "-1", they will do so ifemitterLifetime
prop is set to "0" as well.This also handles the rare case that during emitting
this._emitterLife
can be calculated to be "0". In which case the emitting can unintentionally become infinite.