mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Fixed a crash when a collected ped is arrested.
This commit is contained in:
parent
3f05139c59
commit
f0af9b6207
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ namespace SceneManager
|
||||||
{
|
{
|
||||||
GameFiber.Yield();
|
GameFiber.Yield();
|
||||||
}
|
}
|
||||||
if (Vehicle && Driver)
|
if (Driver && Driver.CurrentVehicle)
|
||||||
{
|
{
|
||||||
Game.LogTrivial($"{Vehicle.Model.Name} releasing from stop waypoint.");
|
Game.LogTrivial($"{Vehicle.Model.Name} releasing from stop waypoint.");
|
||||||
Rage.Native.NativeFunction.Natives.x260BE8F09E326A20(Vehicle, 0f, 1, true);
|
Rage.Native.NativeFunction.Natives.x260BE8F09E326A20(Vehicle, 0f, 1, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue