mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Fixed incorrectly parsing widthInPixels/heightInPixels for JSON tilemaps.
This commit is contained in:
parent
906e00cec1
commit
e30ade0a67
1 changed files with 2 additions and 2 deletions
|
@ -201,8 +201,8 @@ Phaser.TilemapParser = {
|
|||
format: Phaser.Tilemap.TILED_JSON,
|
||||
version: json.version,
|
||||
properties: json.properties,
|
||||
widthInPixels: json.width * json.tileWidth,
|
||||
heightInPixels: json.height * json.tileHeight
|
||||
widthInPixels: json.width * json.tilewidth,
|
||||
heightInPixels: json.height * json.tileheight
|
||||
};
|
||||
|
||||
// Tile Layers
|
||||
|
|
Loading…
Reference in a new issue