fremdes auto im t support parken

This commit is contained in:
hydrant
2021-05-09 18:08:13 +02:00
parent 12f399dd31
commit daa0459a86
2 changed files with 3 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ namespace ReallifeGamemode.Server.Managers
using (var dbContext = new DatabaseContext())
{
foreach (VehicleMod vMod in dbContext.VehicleMods.Where(vM => vM.ServerVehicleId == sVeh.Id).ToList())
foreach (VehicleMod vMod in dbContext.VehicleMods.Where(vM => vM.ServerVehicleId == sVeh.Id).OrderBy(v => v.Slot).ToList())
{
if (vMod.Slot == -2)
{