From 2aba731f4ad20d70e605abc03ca5089c9a99a199 Mon Sep 17 00:00:00 2001 From: Alexey Molchan Date: Tue, 4 Sep 2018 22:19:42 +0300 Subject: [PATCH] fixed incorrect properties assignment in setTileScale method --- src/gameobjects/tilesprite/TileSprite.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gameobjects/tilesprite/TileSprite.js b/src/gameobjects/tilesprite/TileSprite.js index 9c300c318..ba0802586 100644 --- a/src/gameobjects/tilesprite/TileSprite.js +++ b/src/gameobjects/tilesprite/TileSprite.js @@ -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;