Skip to content

Commit

Permalink
fix(bridge/qb): negative stress value (#1214)
Browse files Browse the repository at this point in the history
  • Loading branch information
googleoblivion authored Mar 22, 2023
1 parent 8f3d5c6 commit 04b712a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/bridge/qb/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function client.setPlayerStatus(values)
if value > 0 then
TriggerServerEvent('hud:server:GainStress', value)
else
value = math.abs(value)
TriggerServerEvent('hud:server:RelieveStress', value)
end
end
Expand Down

0 comments on commit 04b712a

Please sign in to comment.