public override void UpdateMusic(ref int music)
{
if (Main.myPlayer != -1 && !Main.gameMenu)
{
if (Main.LocalPlayer.active && Main.LocalPlayer.FindBuffIndex(this.BuffType("CarMount")) != -1)
{
music = this.GetSoundSlot(SoundType.Music, "Sounds/Music/DriveMusic");
}
if (Main.LocalPlayer.active && Main.LocalPlayer.GetModPlayer<ExamplePlayer>(this).ZoneExample)
{
music = this.GetSoundSlot(SoundType.Music, "Sounds/Music/DriveMusic");
}
}
}