diff options
author | Hop311 <Hop3114@gmail.com> | 2023-05-01 01:34:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 01:34:59 +0200 |
commit | b1e985e0774598b3add22069be50f891e981fd79 (patch) | |
tree | e18e9cb252030e9b40ff91463ed117dd00a65789 /game/src/GameSession/ProvinceOverviewPanel.gd | |
parent | 1f8545facd248bbf4ea0cd551fea5f7d9b0efdce (diff) | |
parent | 2fec521cc6bbe7b2cda0eef3b830acbfc8b68333 (diff) |
Merge pull request #103 from OpenVic2Project/terrain
Cosmetic terrain + Hashmaps
Diffstat (limited to 'game/src/GameSession/ProvinceOverviewPanel.gd')
-rw-r--r-- | game/src/GameSession/ProvinceOverviewPanel.gd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/game/src/GameSession/ProvinceOverviewPanel.gd b/game/src/GameSession/ProvinceOverviewPanel.gd index 17da9d0..5a914f7 100644 --- a/game/src/GameSession/ProvinceOverviewPanel.gd +++ b/game/src/GameSession/ProvinceOverviewPanel.gd @@ -1,5 +1,7 @@ extends PanelContainer +signal province_deselected + @export var _province_name_label : Label @export var _region_name_label : Label @export var _life_rating_bar : ProgressBar @@ -92,4 +94,4 @@ func _on_province_selected(index : int) -> void: _selected_index = index func _on_close_button_pressed() -> void: - _selected_index = 0 + province_deselected.emit() |