aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/Menu/OptionMenu/VolumeGrid.gd
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-03-03 17:39:08 +0100
committer hop311 <hop3114@gmail.com>2024-03-03 17:39:08 +0100
commite2077a0d93be8b2dd48f1ee680809420f1f690d7 (patch)
treebacc8f4094eff5514a94b3852e9cec9c28391669 /game/src/Game/Menu/OptionMenu/VolumeGrid.gd
parent9ee1940ac3d15aa4c0a87b84d1c4ab8958184f63 (diff)
Add types to GDScript for-loop variablesfor-loop-types
Diffstat (limited to 'game/src/Game/Menu/OptionMenu/VolumeGrid.gd')
-rw-r--r--game/src/Game/Menu/OptionMenu/VolumeGrid.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/Game/Menu/OptionMenu/VolumeGrid.gd b/game/src/Game/Menu/OptionMenu/VolumeGrid.gd
index cce231f..e9c59d5 100644
--- a/game/src/Game/Menu/OptionMenu/VolumeGrid.gd
+++ b/game/src/Game/Menu/OptionMenu/VolumeGrid.gd
@@ -40,7 +40,7 @@ func add_volume_row(bus_name : String, bus_index : int) -> HSlider:
# REQUIREMENTS
# * UI-22
func _ready() -> void:
- for bus_index in AudioServer.bus_count:
+ for bus_index : int in AudioServer.bus_count:
add_volume_row(AudioServer.get_bus_name(bus_index), bus_index)
func _notification(what : int) -> void: