fix non-loop particle play issue (#3962)

This commit is contained in:
zxg0622
2019-03-05 11:51:34 +08:00
committed by Weiliang Wang
parent dee10308a4
commit 81d6271012
@@ -381,8 +381,8 @@ export class ParticleSystemComponent extends Component {
// this._emitRateTimeCounter = 0.0;
// this._emitRateDistanceCounter = 0.0;
if (!this.loop) {
this._isEmitting = false;
this._isStopped = true;
this.stop();
return;
}
}