fixed merge imports
This commit is contained in:
parent
74dda8ab69
commit
27ccdf165c
@ -1,6 +1,3 @@
|
|||||||
import type {ITiledMap, ITiledMapLayer} from "../Map/ITiledMap";
|
|
||||||
import {LayersIterator} from "../Map/LayersIterator";
|
|
||||||
import { CustomVector, Vector2 } from '../../utility/vector';
|
|
||||||
import type { ITiledMap, ITiledMapLayerProperty } from "../Map/ITiledMap";
|
import type { ITiledMap, ITiledMapLayerProperty } from "../Map/ITiledMap";
|
||||||
import { LayersIterator } from "../Map/LayersIterator";
|
import { LayersIterator } from "../Map/LayersIterator";
|
||||||
|
|
||||||
@ -95,7 +92,6 @@ export class GameMap {
|
|||||||
const tiles = layer.data as number[];
|
const tiles = layer.data as number[];
|
||||||
if (tiles[key] == 0) {
|
if (tiles[key] == 0) {
|
||||||
continue;
|
continue;
|
||||||
tileIndex = tiles[key]
|
|
||||||
}
|
}
|
||||||
// There is a tile in this layer, let's embed the properties
|
// There is a tile in this layer, let's embed the properties
|
||||||
if (layer.properties !== undefined) {
|
if (layer.properties !== undefined) {
|
||||||
|
Loading…
Reference in New Issue
Block a user