Updated CLI unit tests again.

This commit is contained in:
genxium
2022-11-12 11:41:18 +08:00
parent 41967b11f7
commit a4ebde3e07
4 changed files with 10 additions and 10 deletions

View File

@@ -8,7 +8,7 @@
</data>
</layer>
<objectgroup id="2" name="PlayerStartingPos">
<object id="135" x="1516.33" y="2113">
<object id="135" x="1513.33" y="1996">
<point/>
</object>
<object id="137" x="2270" y="1640">

View File

@@ -371,7 +371,7 @@ TileCollisionManager.prototype.extractBoundaryObjects = function (withTiledMapNo
const tilesElListUnderTilesets = {};
for (let tsxFilenameIdx = 0; tsxFilenameIdx < tsxFileNames.length; ++tsxFilenameIdx) {
const tsxOrientation = tileSets[tsxFilenameIdx].orientation;
if (cc.TiledMap.Orientation.ORTHO == tsxOrientation) {
if (cc.TiledMap.Orientation.ORTHO != tsxOrientation) {
cc.error("Error at tileset %s: We proceed with ONLY tilesets in ORTHO orientation for all map orientations by now.", tsxFileNames[tsxFilenameIdx]);
continue;
};