diff options
Diffstat (limited to 'game/src/Game/Menu/OptionMenu/SettingNodes/SettingOptionButton.gd')
-rw-r--r-- | game/src/Game/Menu/OptionMenu/SettingNodes/SettingOptionButton.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/Game/Menu/OptionMenu/SettingNodes/SettingOptionButton.gd b/game/src/Game/Menu/OptionMenu/SettingNodes/SettingOptionButton.gd index a972ed6..44bcada 100644 --- a/game/src/Game/Menu/OptionMenu/SettingNodes/SettingOptionButton.gd +++ b/game/src/Game/Menu/OptionMenu/SettingNodes/SettingOptionButton.gd @@ -40,7 +40,7 @@ func _set_value_from_file(load_value : Variant) -> void: if _valid_index(load_int): selected = load_int return - for item_index in item_count: + for item_index : int in item_count: if load_string == get_item_text(item_index): selected = item_index return |