From d4cc656d1a29ec880ec76741bb29e90bab58c739 Mon Sep 17 00:00:00 2001 From: Amber Sienna Date: Mon, 16 Mar 2020 08:51:00 +0000 Subject: [PATCH] Added astral underground theme support --- CalamityMod.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CalamityMod.cs b/CalamityMod.cs index 13fe102e0a..26e658e566 100644 --- a/CalamityMod.cs +++ b/CalamityMod.cs @@ -2884,7 +2884,10 @@ namespace CalamityMod if (!CalamityPlayer.areThereAnyDamnBosses) { if (calamityModMusic != null) - music = calamityModMusic.GetSoundSlot(SoundType.Music, "Sounds/Music/Astral"); + { + string sound = "Sounds/Music/Astral"; + music = calamityModMusic.GetSoundSlot(SoundType.Music, sound + (p.ZoneOverworldHeight ? "" : "Underground")); + } else music = MusicID.Space; priority = MusicPriority.Environment;