aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/LocaleButton.gd
diff options
context:
space:
mode:
Diffstat (limited to 'game/src/Game/LocaleButton.gd')
-rw-r--r--game/src/Game/LocaleButton.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/Game/LocaleButton.gd b/game/src/Game/LocaleButton.gd
index e315330..8dc6b06 100644
--- a/game/src/Game/LocaleButton.gd
+++ b/game/src/Game/LocaleButton.gd
@@ -53,7 +53,7 @@ func load_setting(file : ConfigFile) -> void:
reset_setting()
func _select_locale_by_string(locale : String) -> bool:
- for idx in item_count:
+ for idx : int in item_count:
if get_item_metadata(idx) == locale:
selected = idx
return true