aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameSession/Minimap.gd
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-05-08 23:03:21 +0200
committer Hop311 <hop3114@gmail.com>2023-05-11 00:54:24 +0200
commitf3bcc10f06ed9aebd281df7851045b0247113e19 (patch)
treee17c5fe07e80b8f0d3dfd09f45dad37ba93e8fe5 /game/src/GameSession/Minimap.gd
parentbd08b517ed8e3a42de981b7173a99fa362134021 (diff)
Added Goods loading + mapmode
Diffstat (limited to 'game/src/GameSession/Minimap.gd')
-rw-r--r--game/src/GameSession/Minimap.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/src/GameSession/Minimap.gd b/game/src/GameSession/Minimap.gd
index f5d972a..1f9b75e 100644
--- a/game/src/GameSession/Minimap.gd
+++ b/game/src/GameSession/Minimap.gd
@@ -16,6 +16,7 @@ func _ready():
push_error("Failed to set up minimap shader")
else:
_minimap_shader = minimap_material
+ GameSingleton.province_selected.connect(_on_province_selected)
func _on_province_selected(index : int) -> void:
if _minimap_shader != null: