diff options
author | Hop311 <hop3114@gmail.com> | 2023-04-13 20:37:31 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-04-13 20:37:31 +0200 |
commit | 66e63d41a109d85b10396e8a2dd934a829cc57fe (patch) | |
tree | dfa1b40b6f4f555b9f25e5ddc3abfa46f7728a4b /game/src/GameSession/MapView.gd | |
parent | 7523c42190c9211ea65db3b00b9476487c61052a (diff) |
Small fixes
Diffstat (limited to 'game/src/GameSession/MapView.gd')
-rw-r--r-- | game/src/GameSession/MapView.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/GameSession/MapView.gd b/game/src/GameSession/MapView.gd index 05e77fa..857365b 100644 --- a/game/src/GameSession/MapView.gd +++ b/game/src/GameSession/MapView.gd @@ -241,7 +241,7 @@ func _update_minimap_viewport() -> void: func _update_mouse_map_position() -> void: _mouse_pos_map = _viewport_to_map_coords(_mouse_pos_viewport) var hover_index := MapSingleton.get_province_index_from_uv_coords(_mouse_pos_map) - if not _mouse_over_viewport: + if _mouse_over_viewport: _map_shader_material.set_shader_parameter(_shader_param_hover_index, hover_index) func _on_mouse_entered_viewport(): |