Skip to content

Commit

Permalink
feat(server/loops): remove trigger for hud updates
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon committed Jul 7, 2024
1 parent 9470208 commit 067fb7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/loops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ local function removeHungerAndThirst(src, player)
player.Functions.SetMetaData('thirst', math.max(0, newThirst))
player.Functions.SetMetaData('hunger', math.max(0, newHunger))

TriggerClientEvent('hud:client:UpdateNeeds', src, newHunger, newThirst)
player.Functions.Save()
end

Expand Down

0 comments on commit 067fb7c

Please sign in to comment.