Added astral underground theme support

This commit is contained in:
Amber Sienna committed 2020-03-16 08:51:00 +00:00
1 parent a5eed8a9d9
commit d4cc656d1a
1 file changed
+4 -1
+4 -1
View File
@@ -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;