Skip to content

Commit

Permalink
fix: accessing undefined variable societyMoney
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Jul 11, 2024
1 parent 8f8491c commit ca6bcda
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ getPersonalMenuCategory("vehicle").drawer = function()
end)
end

local societyMoney
getPersonalMenuCategory("boss").drawer = function()
if societyMoney then
RageUI.Button(TranslateCap("bossmanagement_chest_button"), nil, { RightLabel = ("$%s"):format(GroupDigits(societyMoney)) }, true, nil)
Expand Down

0 comments on commit ca6bcda

Please sign in to comment.