wt nach abladen respawnen
This commit is contained in:
@@ -893,14 +893,15 @@ namespace ReallifeGamemode.Server.Managers
|
||||
|
||||
public static ServerVehicle GetServerVehicleFromVehicle(Vehicle veh, DatabaseContext dbContext = null)
|
||||
{
|
||||
if (veh == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
dbContext = dbContext ?? new DatabaseContext();
|
||||
|
||||
foreach (KeyValuePair<int, NetHandle> pair in _serverVehicles)
|
||||
{
|
||||
if (veh == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (pair.Value == veh.Handle)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user