diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2021-12-12 16:16:49 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2021-12-12 16:16:49 +0100 |
| commit | 1a3099dd6c699572d24e703afa11bcf90b004b60 (patch) | |
| tree | 11335587b596f16c2aad49e89b94883b592690a8 /scripts | |
| parent | 084ae1b47481743873fe3f65ba5c97c7b4ce3e06 (diff) | |
| download | muhqs-game-1a3099dd6c699572d24e703afa11bcf90b004b60.tar.gz muhqs-game-1a3099dd6c699572d24e703afa11bcf90b004b60.zip | |
generate_map_img: add vertical gate
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/generate_map_img.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generate_map_img.py b/scripts/generate_map_img.py index b8b1e225..0e374a51 100755 --- a/scripts/generate_map_img.py +++ b/scripts/generate_map_img.py @@ -139,7 +139,7 @@ def find_wall_tile(tiles: Sequence[Sequence[str]], x: int, y: int): elif connections == 1 or (connections == 2 and ((left and right) or (above and below))): if above or below: - tile_img = cv2.imread(str(get_tile_path('wall_lr'))) + tile_img = cv2.imread(str(get_tile_path('wall_ud'))) else: tile_img = cv2.imread(str(get_tile_path('wall'))) @@ -174,7 +174,7 @@ def find_gate_tile(tiles: Sequence[Sequence[str]], x: int, y: int): # straight gates are the only special gates we have if above or below: - return cv2.imread(str(get_tile_path('gate'))) + return cv2.imread(str(get_tile_path('gate_ud'))) if left or right: return cv2.imread(str(get_tile_path('gate_lr'))) |
