ncannasse 8 lat temu
rodzic
commit
26e9284184
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      h2d/CdbLevel.hx

+ 1 - 1
h2d/CdbLevel.hx

@@ -362,7 +362,7 @@ class CdbLevel extends Layers {
 		t.stride = ldat.stride;
 		t.res = hxd.res.Loader.currentInstance.load(ldat.file).toImage();
 		t.tile = t.res.toTile();
-		t.tiles = t.tile.grid(t.size);
+		t.tiles = t.tile.gridFlatten(t.size);
 		t.objects = [];
 		var tprops = Reflect.field(levelsProps.tileSets, ldat.file);
 		@:privateAccess t.props = tprops;