From e02a52b55d5da2b8056ca0c79e8874e3e85e4715 Mon Sep 17 00:00:00 2001 From: b-ely Date: Sun, 6 Jul 2014 18:21:03 -0500 Subject: [PATCH] Adding a return to the Tween#from method --- src/tween/Tween.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tween/Tween.js b/src/tween/Tween.js index 110cfbf7f..da3327679 100644 --- a/src/tween/Tween.js +++ b/src/tween/Tween.js @@ -280,7 +280,7 @@ Phaser.Tween.prototype = { this._object[prop] = properties[prop]; } } - this.to(_cache, duration, ease, autoStart, delay, repeat, yoyo); + return this.to(_cache, duration, ease, autoStart, delay, repeat, yoyo); }, /**