diff options
author | hop311 <hop3114@gmail.com> | 2024-03-03 17:39:08 +0100 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-03-03 17:39:08 +0100 |
commit | e2077a0d93be8b2dd48f1ee680809420f1f690d7 (patch) | |
tree | bacc8f4094eff5514a94b3852e9cec9c28391669 /game/src/Game/MusicConductor/MusicPlayer.gd | |
parent | 9ee1940ac3d15aa4c0a87b84d1c4ab8958184f63 (diff) |
Add types to GDScript for-loop variablesfor-loop-types
Diffstat (limited to 'game/src/Game/MusicConductor/MusicPlayer.gd')
-rw-r--r-- | game/src/Game/MusicConductor/MusicPlayer.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/Game/MusicConductor/MusicPlayer.gd b/game/src/Game/MusicConductor/MusicPlayer.gd index 949f423..17285dc 100644 --- a/game/src/Game/MusicConductor/MusicPlayer.gd +++ b/game/src/Game/MusicConductor/MusicPlayer.gd @@ -10,7 +10,7 @@ extends Control var _is_user_dragging_progress_slider : bool = false func _ready() -> void: - for songName in MusicConductor.get_all_song_names(): + for songName : String in MusicConductor.get_all_song_names(): _song_selector_button.add_item(songName, _song_selector_button.item_count) _on_song_set(MusicConductor.get_current_song_index()) MusicConductor.song_started.connect(_on_song_set) |