From bc6ead80e9d5bd94b11fb0f5120ddb7a5b0cd3ba Mon Sep 17 00:00:00 2001 From: Nathan Date: Thu, 30 May 2024 17:12:10 +0200 Subject: [PATCH] :loud_sound: Add: Musique --- DouShouQi_App/DouShouQi_App/Views/Game/GameView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DouShouQi_App/DouShouQi_App/Views/Game/GameView.swift b/DouShouQi_App/DouShouQi_App/Views/Game/GameView.swift index c367bae..45ad8f4 100644 --- a/DouShouQi_App/DouShouQi_App/Views/Game/GameView.swift +++ b/DouShouQi_App/DouShouQi_App/Views/Game/GameView.swift @@ -16,7 +16,7 @@ struct GameView: View { SpriteView(scene: gameScene) } .onAppear { - MusicPlayer.shared.playBackgroundMusic(music: "TitleScreenMusic") + MusicPlayer.shared.playBackgroundMusic(music: "GameMusic") } .onDisappear { MusicPlayer.shared.stopBackgroundMusic()