diff options
author | hop311 <hop3114@gmail.com> | 2023-11-16 00:54:57 +0100 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2023-11-16 00:54:57 +0100 |
commit | 3490e740a7235dce236fc2ce973e5cbf64d6e727 (patch) | |
tree | 283c52e391c09ca8c4fb7ab6d81f4351c0fa7025 /game/src/Game/GameSession/MapControlPanel | |
parent | bc0b3c61ae0b742da304cada451fba1df72bb0ad (diff) |
Striped mapmodes
Diffstat (limited to 'game/src/Game/GameSession/MapControlPanel')
-rw-r--r-- | game/src/Game/GameSession/MapControlPanel/Minimap.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/Game/GameSession/MapControlPanel/Minimap.gd b/game/src/Game/GameSession/MapControlPanel/Minimap.gd index be65db5..5564821 100644 --- a/game/src/Game/GameSession/MapControlPanel/Minimap.gd +++ b/game/src/Game/GameSession/MapControlPanel/Minimap.gd @@ -10,7 +10,7 @@ var _minimap_shader : ShaderMaterial var _viewport_points : PackedVector2Array func _ready(): - _minimap_texture.custom_minimum_size = Vector2(GameSingleton.get_aspect_ratio(), 1.0) * 150 + _minimap_texture.custom_minimum_size = Vector2(GameSingleton.get_map_aspect_ratio(), 1.0) * 150 var minimap_material := _minimap_texture.get_material() if GameLoader.ShaderManager.set_up_shader(minimap_material, false) != OK: push_error("Failed to set up minimap shader") |