From ca6bcda94830dff2b80898616f36c336bbba5076 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Thu, 11 Jul 2024 17:06:13 +0200 Subject: [PATCH] fix: accessing undefined variable societyMoney --- server-data/resources/[bpt_addons]/bpt_menu/client/main.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/server-data/resources/[bpt_addons]/bpt_menu/client/main.lua b/server-data/resources/[bpt_addons]/bpt_menu/client/main.lua index 6a03734a6..1aac582f2 100644 --- a/server-data/resources/[bpt_addons]/bpt_menu/client/main.lua +++ b/server-data/resources/[bpt_addons]/bpt_menu/client/main.lua @@ -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)