Skip to content

Commit

Permalink
No delay it's been big time since this do not need it
Browse files Browse the repository at this point in the history
  • Loading branch information
louis1706 committed Jan 20, 2025
1 parent f87ffa7 commit 764e9ec
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions EXILED/Exiled.CustomItems/API/Features/CustomItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1131,11 +1131,8 @@ private void OnInternalUpgradingPickup(UpgradingPickupEventArgs ev)

ev.IsAllowed = false;

Timing.CallDelayed(3.5f, () =>
{
ev.Pickup.Position = ev.OutputPosition;
OnUpgrading(new UpgradingEventArgs(ev.Pickup.Base, ev.OutputPosition, ev.KnobSetting));
});
ev.Pickup.Position = ev.OutputPosition;
OnUpgrading(new UpgradingEventArgs(ev.Pickup.Base, ev.OutputPosition, ev.KnobSetting));
}
}
}

0 comments on commit 764e9ec

Please sign in to comment.