mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-21 20:27:13 +01:00
Fix previous commit.
This commit is contained in:
parent
83c4e5ba23
commit
4e88cbf79e
@ -274,7 +274,7 @@ LightObj & CVehicle::GetOccupant(Int32 slot) const
|
||||
LogWrn("Error while getting occupant at [%d] for [%s]", slot, m_Tag.c_str());
|
||||
}
|
||||
// Default to a null instance
|
||||
return Core::Get().GetNullVehicle().GetObject();
|
||||
return Core::Get().GetNullVehicle();
|
||||
}
|
||||
// Return the requested information
|
||||
return Core::Get().GetPlayer(id).mObj;
|
||||
|
Loading…
x
Reference in New Issue
Block a user