From 4bfe27cecc25e9952a7fb92da519d2d3faa5f3e0 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Mon, 23 Dec 2019 18:15:04 +0800 Subject: [PATCH] `==` -> `===` --- src/animation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;