Added menu music
This commit is contained in:
@@ -11,6 +11,8 @@ func _ready() -> void:
|
||||
if OS.get_name() == "Web":
|
||||
_setup_for_web()
|
||||
|
||||
SoundManager.play_music_stream(SoundManager.music_stream_main_menu)
|
||||
|
||||
start_button.grab_focus()
|
||||
get_viewport().gui_focus_changed.connect(_on_gui_focus_changed)
|
||||
|
||||
|
||||
@@ -110,5 +110,4 @@ func _on_sfx_volume_changed(value: float) -> void:
|
||||
|
||||
|
||||
func _on_music_volume_changed(value: float) -> void:
|
||||
if _play_sound: SoundManager.play_music_stream(SoundManager.ui_stream_select)
|
||||
SettingsManager.music_volume = floor(value)
|
||||
|
||||
Reference in New Issue
Block a user