Skip to content

Commit fee857a

Browse files
authored
Merge pull request phaserjs#3693 from zacharysarette/master
Fixes tweens getting stuck after being restarted in bug phaserjs#3651
2 parents 1a1dbe2 + de759b6 commit fee857a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dist/phaser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19045,7 +19045,7 @@ var Tween = new Class({
1904519045
*/
1904619046
restart: function ()
1904719047
{
19048-
if (this.state === TWEEN_CONST.REMOVED)
19048+
if (this.state === TWEEN_CONST.REMOVED || this.state === TWEEN_CONST.PENDING_ADD)
1904919049
{
1905019050
this.seek(0);
1905119051
this.parent.makeActive(this);

0 commit comments

Comments
 (0)