diff --git a/Barotrauma/BarotraumaShared/Source/Items/Components/Holdable/Holdable.cs b/Barotrauma/BarotraumaShared/Source/Items/Components/Holdable/Holdable.cs index 5aa102b36..f0a7b89d2 100644 --- a/Barotrauma/BarotraumaShared/Source/Items/Components/Holdable/Holdable.cs +++ b/Barotrauma/BarotraumaShared/Source/Items/Components/Holdable/Holdable.cs @@ -124,6 +124,17 @@ namespace Barotrauma.Items.Components } } + public override void Load(XElement componentElement) + { + base.Load(componentElement); + if (attachable) + { + prevMsg = Msg; + prevPickKey = PickKey; + prevRequiredItems = new List(requiredItems); + } + } + public override void Drop(Character dropper) { Drop(true, dropper);