aboutsummaryrefslogtreecommitdiff
path: root/game/src/MusicConductor/MusicPlayer.gd
diff options
context:
space:
mode:
author ClarkeCode <clarke.john.robert@gmail.com>2023-04-18 03:08:25 +0200
committer ClarkeCode <clarke.john.robert@gmail.com>2023-04-18 20:10:54 +0200
commit18151dc9829701a20d0bc12e83958ddfe9beb039 (patch)
treeb095bd7c318256b2703e6ecbedd31f5852f8e5ba /game/src/MusicConductor/MusicPlayer.gd
parentc945680d960ccd0fb4a0ef5058ddfdd48e150f2d (diff)
Added music player control to GameSession
Diffstat (limited to 'game/src/MusicConductor/MusicPlayer.gd')
-rw-r--r--game/src/MusicConductor/MusicPlayer.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/src/MusicConductor/MusicPlayer.gd b/game/src/MusicConductor/MusicPlayer.gd
index baf8a43..b775b84 100644
--- a/game/src/MusicConductor/MusicPlayer.gd
+++ b/game/src/MusicConductor/MusicPlayer.gd
@@ -44,6 +44,8 @@ func _on_previous_song_button_pressed():
func _on_option_button_item_selected(index):
# UIFUN-92
MusicConductor.start_song_by_index(index)
+ _update_song_name_visual()
+ _update_play_pause_button()
func _on_progress_slider_drag_started():