Skip to content

Commit

Permalink
fix(ox): reversed hunger percentage calculation (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
vipexv committed Nov 5, 2024
1 parent b0c9943 commit f0b2d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/frameworks/ox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ function oxFramework.new()
self.values = {}

AddEventHandler("ox:statusTick", function(data)
self.values.hunger = data.hunger
self.values.thirst = data.thirst
self.values.hunger = 100 - data.hunger
self.values.thirst = 100 - data.thirst
self.values.stress = data.stress
end)

Expand Down

0 comments on commit f0b2d03

Please sign in to comment.