Wave of item effects and implementation
This commit is contained in:
@@ -126,12 +126,12 @@ public partial class ActionPanel : Panel
|
||||
{
|
||||
if (_player.EquipmentComponent.IsItemEquipped(equipable))
|
||||
{
|
||||
_player.EquipmentComponent.Unequip(equipable);
|
||||
_player.Unequip(equipable);
|
||||
SfxDatabase.Instance.Play(SoundEffect.Unequip);
|
||||
}
|
||||
else
|
||||
{
|
||||
_player.EquipmentComponent.Equip(equipable);
|
||||
_player.Equip(equipable);
|
||||
SfxDatabase.Instance.Play(SoundEffect.Equip);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user