diff --git a/Barotrauma/BarotraumaClient/Source/Items/Item.cs b/Barotrauma/BarotraumaClient/Source/Items/Item.cs index 437e302a3..05c5f7a0b 100644 --- a/Barotrauma/BarotraumaClient/Source/Items/Item.cs +++ b/Barotrauma/BarotraumaClient/Source/Items/Item.cs @@ -402,7 +402,8 @@ namespace Barotrauma ushort targetID = msg.ReadUInt16(); Character target = FindEntityByID(targetID) as Character; - ApplyStatusEffects(actionType, (float)Timing.Step, target, true); + //ignore deltatime - using an item with the useOnSelf buttons is instantaneous + ApplyStatusEffects(actionType, 1.0f, target, true); break; case NetEntityEvent.Type.ChangeProperty: ReadPropertyChange(msg); diff --git a/Barotrauma/BarotraumaShared/Source/Items/Item.cs b/Barotrauma/BarotraumaShared/Source/Items/Item.cs index a037b0c81..bad381cb9 100644 --- a/Barotrauma/BarotraumaShared/Source/Items/Item.cs +++ b/Barotrauma/BarotraumaShared/Source/Items/Item.cs @@ -1457,7 +1457,7 @@ namespace Barotrauma case NetEntityEvent.Type.ApplyStatusEffect: if (c.Character == null || !c.Character.CanInteractWith(this)) return; - ApplyStatusEffects(ActionType.OnUse, (float)Timing.Step, c.Character); + ApplyStatusEffects(ActionType.OnUse, 1.0f, c.Character); if (ContainedItems == null || ContainedItems.All(i => i == null)) {