Fixed null comparison

This commit is contained in:
Richard Davey 2022-12-17 17:51:35 +00:00
parent 0ceb9d390d
commit b8094cc078

View file

@ -861,7 +861,7 @@ var ParticleEmitter = new Class({
this.acceleration = (this.accelerationX !== 0 || this.accelerationY !== 0);
this.moveTo = (this.moveToX !== null && this.moveToY !== null);
this.moveTo = (this.moveToX !== 0 && this.moveToY !== 0);
// Special 'speed' override