diff options
Diffstat (limited to 'game/src/Game/Menu/OptionMenu/GuiScaleSelector.gd')
-rw-r--r-- | game/src/Game/Menu/OptionMenu/GuiScaleSelector.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/Game/Menu/OptionMenu/GuiScaleSelector.gd b/game/src/Game/Menu/OptionMenu/GuiScaleSelector.gd index 3be8c2c..f3c7b22 100644 --- a/game/src/Game/Menu/OptionMenu/GuiScaleSelector.gd +++ b/game/src/Game/Menu/OptionMenu/GuiScaleSelector.gd @@ -8,7 +8,7 @@ extends SettingOptionButton var default_value : float = GuiScale.error_guiscale func _find_guiscale_index_by_value(value : float) -> int: - for item_index in item_count: + for item_index : int in item_count: if get_item_metadata(item_index) == value: return item_index return -1 |