Skip to content

Commit 980858f

Browse files
committed
Fix inverted GetVehicleLandingGearState value
1 parent b4d411c commit 980858f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/Components/Pawn/Scripting/Vehicle/Natives.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ SCRIPT_API(GetVehicleVirtualWorld, int(IVehicle& vehicle))
346346

347347
SCRIPT_API(GetVehicleLandingGearState, int(IVehicle& vehicle))
348348
{
349-
return !vehicle.getLandingGearState();
349+
return vehicle.getLandingGearState();
350350
}
351351

352352
SCRIPT_API(IsValidVehicle, bool(IVehicle* vehicle))

0 commit comments

Comments
 (0)