Skip to content

Commit

Permalink
fix(server): comparing?
Browse files Browse the repository at this point in the history
I won't git blame this time, but next time...
  • Loading branch information
BerkieBb committed Feb 13, 2024
1 parent a6e4de9 commit 45a1cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ lib.callback.register('qbx_medical:server:setArmor', function(source, amount)
end)

local function resetHungerAndThirst(player)
if type(player == 'number') then
if type(player) == 'number' then
player = exports.qbx_core:GetPlayer(player)
end

Expand Down

0 comments on commit 45a1cfd

Please sign in to comment.