diff --git a/ReallifeGamemode.Server/Events/Key.cs b/ReallifeGamemode.Server/Events/Key.cs index 3a1751a6..4119d341 100644 --- a/ReallifeGamemode.Server/Events/Key.cs +++ b/ReallifeGamemode.Server/Events/Key.cs @@ -195,7 +195,7 @@ namespace ReallifeGamemode.Server.Events JailReleasePoint nearestJailReleasePoint = PositionManager.JailReleasePoints.Find(j => j.Position.DistanceTo(player.Position) <= 1.6 && (user.FactionId == 1 || user.FactionId == 3) && user.GetData("duty")); - if (nearestDuty != null)// Duty Point + if (nearestDuty != null && !player.InVehicle)// Duty Point { var nameTagColor = new Color(0, 0, 0); var factionId = user.FactionId;