mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Formatting fix #4992
This commit is contained in:
parent
a3f67973cd
commit
f03ddf033b
1 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,6 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
|
||||
var GetTilesWithin = require('./GetTilesWithin');
|
||||
var ReplaceByIndex = require('./ReplaceByIndex');
|
||||
|
||||
|
@ -50,9 +49,11 @@ var CreateFromTiles = function (indexes, replacements, spriteConfig, scene, came
|
|||
|
||||
if (indexes.indexOf(tile.index) !== -1)
|
||||
{
|
||||
var point = tilemapLayer.tileToWorldXY(tile.x,tile.y, undefined, camera,layer);
|
||||
var point = tilemapLayer.tileToWorldXY(tile.x, tile.y, undefined, camera,layer);
|
||||
|
||||
spriteConfig.x = point.x;
|
||||
spriteConfig.y = point.y;
|
||||
|
||||
sprites.push(scene.make.sprite(spriteConfig));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue