坐标计算:玉门天灾工事修正
This commit is contained in:
parent
3815dfea6c
commit
487c8b6f52
1 changed files with 4 additions and 1 deletions
|
@ -53,7 +53,10 @@ class Level:
|
|||
for row in raw_tiles:
|
||||
row_tiles = []
|
||||
for tile in row:
|
||||
row_tiles.append(Tile(tile["heightType"], tile["buildableType"]))
|
||||
heightType = tile["heightType"]
|
||||
if tile["tileKey"] == "tile_passable_wall":
|
||||
heightType = 1
|
||||
row_tiles.append(Tile(heightType, tile["buildableType"]))
|
||||
tiles.append(row_tiles)
|
||||
|
||||
return cls(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue