Skip to content

Commit c909c29

Browse files
committed
Undefined fix phaserjs#1347
1 parent 2589000 commit c909c29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tween/TweenData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Phaser.TweenData.prototype = {
284284
this.vEnd[property] = [this.parent.properties[property]].concat(this.vEnd[property]);
285285
}
286286

287-
if (this.vEnd[property])
287+
if (typeof this.vEnd[property] !== 'undefined')
288288
{
289289
if (typeof this.vEnd[property] === 'string')
290290
{

0 commit comments

Comments
 (0)