Busfahrer: Auch nicht als Beifahrer in Nicht-Bus Fahrzeug einsteigen

This commit is contained in:
hydrant
2021-04-24 21:06:56 +02:00
parent 14f9e33ffe
commit 92de91465b

View File

@@ -202,9 +202,9 @@ namespace ReallifeGamemode.Server.Managers
{ {
JobBase job = GetJob(player.GetUser().JobId ?? -1); JobBase job = GetJob(player.GetUser().JobId ?? -1);
if (job != null && job.GetUsersInJob().Contains(player) && seat == 0) if (job != null && job.GetUsersInJob().Contains(player))
{ {
if(job.CheckVehicle(player, veh)) if(job.CheckVehicle(player, veh) && seat == 0)
{ {
if (!playerTimersJobVehicleRespawn.ContainsKey(player)) if (!playerTimersJobVehicleRespawn.ContainsKey(player))
return; return;