slash car vorschlag umgesetzt

This commit is contained in:
2020-08-04 17:55:29 +02:00
parent f47033c654
commit 0c0c3db98d
3 changed files with 22 additions and 4 deletions

View File

@@ -851,6 +851,11 @@ namespace ReallifeGamemode.Server.Managers
foreach (KeyValuePair<int, NetHandle> pair in _serverVehicles)
{
if (veh == null)
{
continue;
}
if (pair.Value == veh.Handle)
{
return dbContext.ServerVehicles.Find(pair.Key);