diff --git a/LeCountdown/Conductor.swift b/LeCountdown/Conductor.swift index f4daadb..53ffd21 100644 --- a/LeCountdown/Conductor.swift +++ b/LeCountdown/Conductor.swift @@ -351,7 +351,7 @@ class Conductor: ObservableObject { func restoreSoundPlayers() { for (countdownId, sequence) in self.currentCountdowns { - if !self._delayedSoundPlayers.contains(where: { $0.key == countdownId }) { + if !self._delayedSoundPlayers.contains(where: { $0.key.starts(with: countdownId) }) { let context = PersistenceController.shared.container.viewContext if let countdown: Countdown = context.object(stringId: countdownId) {