mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
Merge pull request #6536 from TJ09/animation-global-time-scale
Apply AnimationManager's global time scale to AnimationStates.
This commit is contained in:
commit
c23b276cdd
1 changed files with 1 additions and 1 deletions
|
@ -1487,7 +1487,7 @@ var AnimationState = new Class({
|
|||
return;
|
||||
}
|
||||
|
||||
this.accumulator += delta * this.timeScale;
|
||||
this.accumulator += delta * this.timeScale * this.animationManager.globalTimeScale;
|
||||
|
||||
if (this._pendingStop === 1)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue