Skip to content

Commit e02a52b

Browse files
committed
Adding a return to the Tween#from method
1 parent da822ab commit e02a52b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tween/Tween.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ Phaser.Tween.prototype = {
280280
this._object[prop] = properties[prop];
281281
}
282282
}
283-
this.to(_cache, duration, ease, autoStart, delay, repeat, yoyo);
283+
return this.to(_cache, duration, ease, autoStart, delay, repeat, yoyo);
284284
},
285285

286286
/**

0 commit comments

Comments
 (0)