From c485d5b502174b8bddec12db355b96fe717fed9e Mon Sep 17 00:00:00 2001 From: Azalea Colburn <62953415+azaleacolburn@users.noreply.github.com> Date: Wed, 21 Aug 2024 14:24:20 -0700 Subject: [PATCH] Update fission/src/systems/physics/PhysicsSystem.ts Co-authored-by: Brandon Pacewic <92102436+BrandonPacewic@users.noreply.github.com> --- fission/src/systems/physics/PhysicsSystem.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fission/src/systems/physics/PhysicsSystem.ts b/fission/src/systems/physics/PhysicsSystem.ts index dc1f29944..f323503e4 100644 --- a/fission/src/systems/physics/PhysicsSystem.ts +++ b/fission/src/systems/physics/PhysicsSystem.ts @@ -165,7 +165,7 @@ class PhysicsSystem extends WorldSystem { * The pause works off of a request counter. */ public ReleasePause() { - if (this._pauseCounter > 0) this._pauseCounter-- + if (this._pauseCounter) this._pauseCounter-- } /**