aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/Theme/PieChart/PieChart.gd
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-08-14 01:23:25 +0200
committer Hop311 <hop3114@gmail.com>2023-08-14 01:23:25 +0200
commit9a086523513994b0183d5f7d479b2f82412177f6 (patch)
treee93af9cabfbefc6ea089a153399e04d74e4b605a /game/src/Game/Theme/PieChart/PieChart.gd
parentfe74604d96d1d28b811ebe45d1d06356cf79bc6f (diff)
Fixed piechart tooltip + updated sim submodule
Diffstat (limited to 'game/src/Game/Theme/PieChart/PieChart.gd')
-rw-r--r--game/src/Game/Theme/PieChart/PieChart.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/Game/Theme/PieChart/PieChart.gd b/game/src/Game/Theme/PieChart/PieChart.gd
index 94366c7..cfd7917 100644
--- a/game/src/Game/Theme/PieChart/PieChart.gd
+++ b/game/src/Game/Theme/PieChart/PieChart.gd
@@ -99,7 +99,7 @@ func set_to_distribution(dist : Dictionary) -> void:
clear_slices()
for key in dist:
var entry : Dictionary = dist[key]
- _slices[key] = SliceData.new(entry[GameSingleton.get_culture_info_size_key()], key, entry[GameSingleton.get_culture_info_colour_key()])
+ _slices[key] = SliceData.new(entry[GameSingleton.get_piechart_info_size_key()], key, entry[GameSingleton.get_piechart_info_colour_key()])
_slice_order = _slices.keys()
sort_slices()