Skip to content

Commit

Permalink
fix: unused global variable CheckQuantity
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Jul 11, 2024
1 parent 58908b3 commit 8f8491c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions server-data/resources/[bpt_addons]/bpt_menu/client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -177,20 +177,6 @@ function startAnim(animDict, animName)
RemoveAnimDict(animDict)
end

function CheckQuantity(number)
number = tonumber(number)
if type(number) ~= "number" then
return false, number
end

number = MathRound(number)
if number <= 0 then
return false, number
end

return true, number
end

function DrawPersonalMenu()
ruiDrawContent(drawContentOptions, function()
for i = 1, #personalMenuCategories do
Expand Down

0 comments on commit 8f8491c

Please sign in to comment.