Skip to content

Commit

Permalink
unused params
Browse files Browse the repository at this point in the history
  • Loading branch information
TonybynMp4 committed Feb 15, 2024
1 parent 43cf54b commit ffc379d
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 @@ -64,7 +64,7 @@ local function drunkLoop()
end)
end

AddStateBagChangeHandler("alcohol", ('player:%s'):format(cache.serverId), function(stateBag, key, value)
AddStateBagChangeHandler("alcohol", ('player:%s'):format(cache.serverId), function(_, _, value)
alcoholLevel = value
if value > 0 and not isDrunk then
isDrunk = true
Expand Down

0 comments on commit ffc379d

Please sign in to comment.