Skip to content

Commit

Permalink
P-Fix: player fails to close door when opened not loose
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorBarns committed Jan 8, 2022
1 parent 11d4078 commit f8c066c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PLUGINS/trailer_support/UI/cl_ragemenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Citizen.CreateThread(function()
if GetVehicleDoorAngleRatio(veh, door_num) > 0 then
SetVehicleDoorShut(veh, door_num, true)
else
SetVehicleDoorOpen(veh, door_num, false, false)
SetVehicleDoorOpen(veh, door_num, true, false)
end
end,
})
Expand All @@ -125,7 +125,7 @@ Citizen.CreateThread(function()
if GetVehicleDoorAngleRatio(trailer, door_num) > 0 then
SetVehicleDoorShut(trailer, door_num, true)
else
SetVehicleDoorOpen(trailer, door_num, false, false)
SetVehicleDoorOpen(trailer, door_num, true, false)
end
end,
})
Expand Down

0 comments on commit f8c066c

Please sign in to comment.