mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Tweens don't update if paused.
This commit is contained in:
parent
2ddafdd0b5
commit
80fc2e9820
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@ var UpdateTweenData = require('./UpdateTweenData');
|
|||
|
||||
var Update = function (timestamp, delta)
|
||||
{
|
||||
if (this.state === TWEEN_CONST.PAUSED)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.useFrames)
|
||||
{
|
||||
delta = 1;
|
||||
|
|
Loading…
Reference in a new issue