diff --git a/src/ui/menus/title_screen/title_screen.gd b/src/ui/menus/title_screen/title_screen.gd index 2c85837..808d849 100644 --- a/src/ui/menus/title_screen/title_screen.gd +++ b/src/ui/menus/title_screen/title_screen.gd @@ -24,11 +24,18 @@ func _ready() -> void: continue_button.disabled = false +func stop_sounds() -> void: + title_sfx.stop() + title_drone.stop() + + func continue_game() -> void: + stop_sounds() LoadingTools.load_save(save_path) func new_game() -> void: + stop_sounds() LoadingTools.load_level(level_scene) @@ -42,5 +49,4 @@ func quit() -> void: func _exit_tree() -> void: - title_sfx.stop() - title_drone.stop() + stop_sounds()