aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameSession/MapView.gd
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-05-01 00:59:54 +0200
committer Hop311 <hop3114@gmail.com>2023-05-01 00:59:54 +0200
commit2fec521cc6bbe7b2cda0eef3b830acbfc8b68333 (patch)
treee18e9cb252030e9b40ff91463ed117dd00a65789 /game/src/GameSession/MapView.gd
parentbce925ad8efa7bbf508e79cab2110416a71cb8ee (diff)
Hashmaps instead of linear + better province hover
Diffstat (limited to 'game/src/GameSession/MapView.gd')
-rw-r--r--game/src/GameSession/MapView.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/src/GameSession/MapView.gd b/game/src/GameSession/MapView.gd
index 2e2c5e6..e2c8519 100644
--- a/game/src/GameSession/MapView.gd
+++ b/game/src/GameSession/MapView.gd
@@ -228,6 +228,7 @@ func _on_mouse_entered_viewport():
func _on_mouse_exited_viewport():
_mouse_over_viewport = false
+ _map_shader_material.set_shader_parameter(Events.ShaderManager.param_hover_index, 0)
func _on_minimap_clicked(pos_clicked : Vector2):
pos_clicked *= _map_mesh_dims