Skip to content

Commit 6af861b

Browse files
Revert "This fixes an issue with the tween restart function in phaser.js."
This reverts commit f170c0f.
1 parent c15fc2e commit 6af861b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dist/phaser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19045,9 +19045,9 @@ var Tween = new Class({
1904519045
*/
1904619046
restart: function ()
1904719047
{
19048-
if (this.state === TWEEN_CONST.REMOVED || this.state === TWEEN_CONST.PENDING_ADD)
19048+
if (this.state === TWEEN_CONST.REMOVED)
1904919049
{
19050-
this.seek(0);
19050+
this.seek(0);
1905119051
this.parent.makeActive(this);
1905219052
}
1905319053
else

0 commit comments

Comments
 (0)