Skip to content

Commit

Permalink
removed duplicate if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
t1ger-scripts authored Jul 29, 2024
1 parent 34b0953 commit 8f7cd26
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,6 @@ ESX.RegisterServerCallback('esx_society:getSocietyMoney', function(source, cb, s
print(('[^3WARNING^7] Player ^5%s^7 attempted to get money from non-existing society - ^5%s^7!'):format(source, societyName))
return cb(0)
end
if not society then
return cb(0)
end
TriggerEvent('esx_addonaccount:getSharedAccount', society.account, function(account)
cb(account.money or 0)
end)
Expand Down

0 comments on commit 8f7cd26

Please sign in to comment.