Update main.lua

This commit is contained in:
Andyyy7666
2022-04-11 03:12:14 +02:00
committed by GitHub
parent d251acece6
commit 638ccb55df

View File

@@ -122,7 +122,7 @@ AddEventHandler("newCharacter", function(newCharacter)
local departmentCheck = validateDepartment(player, newCharacter.department)
if not departmentCheck then return end
if config.enableMoneySystem
if config.enableMoneySystem then
local startingCash = newCharacter.startingCash
local startingBank = newCharacter.startingBank
-- Don't trust the client, validate maximum amounts.