code formatiert

This commit is contained in:
hydrant
2020-08-04 21:51:38 +02:00
parent c4d4b16006
commit 76d72eebdf
40 changed files with 237 additions and 208 deletions

View File

@@ -41,7 +41,8 @@ namespace ReallifeGamemode.Server.Commands
if (player.IsInVehicle)
{
pVeh = player.Vehicle;
} else
}
else
{
pVeh = NAPI.Pools.GetAllVehicles().Where(v => v.Position.DistanceTo(player.Position) <= 5).FirstOrDefault();
}