diff --git a/src/MarbleWorld.hx b/src/MarbleWorld.hx index 504b1d0e..a21d5c5d 100644 --- a/src/MarbleWorld.hx +++ b/src/MarbleWorld.hx @@ -1309,11 +1309,16 @@ class MarbleWorld extends Scheduler { if (timeTravelSound == null) { var ttsnd = ResourceLoader.getResource("data/sound/timetravelactive.wav", ResourceLoader.getAudio, this.soundResources); timeTravelSound = AudioManager.playSound(ttsnd, null, true); + + if (alarmSound != null) + alarmSound.pause = true; } } else { if (timeTravelSound != null) { timeTravelSound.stop(); timeTravelSound = null; + if (alarmSound != null) + alarmSound.pause = false; } if (this.timeState.currentAttemptTime >= 3.5) { this.timeState.gameplayClock += dt;