internal static void Unload()
{
for (int i = Main.maxMusic; i < Main.music.Length; i++)
{
Main.music[i].Stop(true);
}
foreach (SoundType type in Enum.GetValues(typeof(SoundType)))
{
nextSound[type] = GetNumVanilla(type);
sounds[type].Clear();
modSounds[type].Clear();
}
musicToItem.Clear();
itemToMusic.Clear();
tileToMusic.Clear();
}