Update TileToWorldX.js

This commit is contained in:
svipal 2020-02-08 15:53:53 +01:00 committed by GitHub
parent cf622269e8
commit 8e30c5ef1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,6 @@ var TileToWorldX = function (tileX, camera, layer)
tileWidth *= tilemapLayer.scaleX; tileWidth *= tilemapLayer.scaleX;
} }
if (orientation === 'orthogonal') if (orientation === 'orthogonal')
{ {
return layerWorldX + tileX * tileWidth; return layerWorldX + tileX * tileWidth;