fix: 箭头方向

This commit is contained in:
unanmed 2025-03-22 12:32:22 +08:00
parent fbfa5f3141
commit 3eb80d79c7

View File

@ -42,13 +42,13 @@ def matrix_to_image_cv(map_matrix, tile_set, tile_size=32):
if tile_index == '11':
if row == 0:
tile_index = '11_2'
elif row == W - 1:
tile_index = '11_4'
elif col == 0:
tile_index = '11_1'
elif col == H - 1:
elif row == W - 1:
tile_index = '11_3'
elif col == 0:
tile_index = '11_2'
elif col == H - 1:
tile_index = '11_4'
# 叠加其他透明图块
if tile_index in tile_set and tile_index != 0: