diff --git a/ReallifeGamemode.Server/Util/AnimationSync.cs b/ReallifeGamemode.Server/Util/AnimationSync.cs index 827c83aa..274871b9 100644 --- a/ReallifeGamemode.Server/Util/AnimationSync.cs +++ b/ReallifeGamemode.Server/Util/AnimationSync.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using GTANetworkAPI; using Newtonsoft.Json; +using ReallifeGamemode.Server.Managers; namespace ReallifeGamemode.Server.Util { @@ -95,7 +96,14 @@ namespace ReallifeGamemode.Server.Util { player.ClearAnimation(); if (checkTransition) + { AnimPairTransition(player); + } + else + { + player.ClearAttachments(); + PositionManager.cuffPoints.Remove(player); + } } [ServerEvent(Event.PlayerWeaponSwitch)]