Merge pull request #6419 from kainage/fix-particle-lifespan

Fix ParticleEmitter#setParticleLifespan
This commit is contained in:
Richard Davey 2023-03-31 14:27:20 +01:00 committed by GitHub
commit 6d539ab1c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1601,7 +1601,7 @@ var ParticleEmitter = new Class({
*/
setParticleLifespan: function (value)
{
this.lifespan.onChange(value);
this.ops.lifespan.onChange(value);
return this;
},