Fix exception entering vehicle as passenger

This commit is contained in:
oldnapalm
2023-07-24 10:39:37 -03:00
parent 3b987f59e0
commit 13b771ec9f

View File

@ -296,7 +296,7 @@ namespace RageCoop.Client
{
result = true;
}
else
else if (veh.GetPedOnSeat(seat) != null)
{
bool isDead = veh.GetPedOnSeat(seat).IsDead;