This commit is contained in:
2021-04-06 18:53:13 +02:00
parent 4654638d9e
commit b2d82b8e0a

View File

@@ -62,10 +62,7 @@ namespace ReallifeGamemode.Server.Commands
if (target.Id == player.Id) if (target.Id == player.Id)
return; return;
Vector3 front = player.GetInFrontOfPosition(); target.SetInFrontOf(player);
front.Z = player.Position.Z;
target.Position = front;
target.Heading = player.Heading; target.Heading = player.Heading;
if (!target.HasAnimation("Cuffed")) if (!target.HasAnimation("Cuffed"))