fixed incorrect properties assignment in setTileScale method

This commit is contained in:
Alexey Molchan 2018-09-04 22:19:42 +03:00
parent 03aeaefe21
commit 2aba731f4a

View file

@ -389,12 +389,12 @@ var TileSprite = new Class({
{
if (x !== undefined)
{
this.tilePositionX = x;
this.tileScaleX = x;
}
if (y !== undefined)
{
this.tilePositionY = y;
this.tileScaleY = y;
}
return this;