Apply AnimationManager's global time scale to AnimationStates.

This commit is contained in:
T.J. Lipscomb 2023-07-03 11:43:29 -07:00 committed by GitHub
parent 1a2a255904
commit 6272944f1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1487,7 +1487,7 @@ var AnimationState = new Class({
return; return;
} }
this.accumulator += delta * this.timeScale; this.accumulator += delta * this.timeScale * this.animationManager.globalTimeScale;
if (this._pendingStop === 1) if (this._pendingStop === 1)
{ {