diff --git a/src/animation.ts b/src/animation.ts index b9863f6..973b1ca 100644 --- a/src/animation.ts +++ b/src/animation.ts @@ -121,7 +121,7 @@ export class RootAnimation extends CompositeAnimation implements AnimationHandle } runAnimationLoop(player: PlayerObject): void { - if (this.handles.size == 0) { + if (this.handles.size === 0) { return; } this.progress += this.clock.getDelta() * this.speed;