diff --git a/client/main.lua b/client/main.lua index 1533f53..4fb3dd6 100644 --- a/client/main.lua +++ b/client/main.lua @@ -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