Skip to content

Commit

Permalink
fix(client/main): harness from seatbelt (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
BerkieBb authored Jan 15, 2024
1 parent d15eab1 commit d818df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ end)
RegisterNetEvent('radialmenu:client:ChangeSeat', function(id, label)
local isSeatFree = IsVehicleSeatFree(cache.vehicle, id - 2)
local speed = GetEntitySpeed(cache.vehicle)
local hasHarness = exports.qbx_smallresources:HasHarness()
local hasHarness = exports.qbx_seatbelt:HasHarness()
if hasHarness then
return exports.qbx_core:Notify(Lang:t('error.race_harness_on'), 'error')
end
Expand Down

0 comments on commit d818df9

Please sign in to comment.