Added menu sounds on arrow clicks
This commit is contained in:
1 parent
ddd43c2875
commit
ab74c4ebb9
1 file changed
+3
-1
@@ -275,13 +275,15 @@ namespace CalamityMod.UI.CalamitasEnchants
|
||||
{
|
||||
EnchantIndex--;
|
||||
TopButtonClickCountdown = 8f;
|
||||
Main.PlaySound(SoundID.MenuTick);
|
||||
}
|
||||
|
||||
// Increment the enchantment index if the bottom button is pressed.
|
||||
if (hoveringOverBottomArrow && EnchantIndex < possibleEnchantments.Count() - 1)
|
||||
{
|
||||
EnchantIndex++;
|
||||
TopButtonClickCountdown = 8f;
|
||||
BottomButtonClickCountdown = 8f;
|
||||
Main.PlaySound(SoundID.MenuTick);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user