Fix really annoying bug on focus modes. i forgot what else i did but probably added armor
This commit is contained in:
@@ -395,6 +395,8 @@ public partial class Player : CharacterBody3D, IPlayer, IProvide<IPlayer>
|
||||
Inventory.Remove(weapon);
|
||||
break;
|
||||
case JewelTags.Glue:
|
||||
if (!EquipmentComponent.IsItemEquipped(weapon))
|
||||
break;
|
||||
weapon.Glued = true;
|
||||
weapon.Augment = new Augment(JewelTags.Glue, new BasicAugment());
|
||||
break;
|
||||
@@ -449,6 +451,8 @@ public partial class Player : CharacterBody3D, IPlayer, IProvide<IPlayer>
|
||||
Inventory.Remove(armor);
|
||||
break;
|
||||
case JewelTags.Glue:
|
||||
if (!EquipmentComponent.IsItemEquipped(armor))
|
||||
break;
|
||||
armor.Glued = true;
|
||||
armor.Augment = new Augment(JewelTags.Glue, new BasicAugment());
|
||||
break;
|
||||
@@ -503,6 +507,8 @@ public partial class Player : CharacterBody3D, IPlayer, IProvide<IPlayer>
|
||||
Inventory.Remove(accessory);
|
||||
break;
|
||||
case JewelTags.Glue:
|
||||
if (!EquipmentComponent.IsItemEquipped(accessory))
|
||||
break;
|
||||
accessory.Glued = true;
|
||||
accessory.Augment = new Augment(JewelTags.Glue, new BasicAugment());
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user