From a96052ee262ef0585eddc5177e9b5f27b31a9da2 Mon Sep 17 00:00:00 2001 From: Joel <34402846+Qwerty1Verified@users.noreply.github.com> Date: Wed, 21 Dec 2022 15:42:45 +0000 Subject: [PATCH] Refactor: Removes indenting, reduces to one line (#899) --- shared/jobs.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/shared/jobs.lua b/shared/jobs.lua index 398b026..67c813d 100644 --- a/shared/jobs.lua +++ b/shared/jobs.lua @@ -2,8 +2,8 @@ QBShared = QBShared or {} QBShared.ForceJobDefaultDutyAtLogin = true -- true: Force duty state to jobdefaultDuty | false: set duty state from database last saved QBShared.QBJobsStatus = false -- true: integrate qb-jobs into the whole of qb-core | false: treat qb-jobs as an add-on resource. QBShared.Jobs = {} -- All of below has been migrated into qb-jobs -if not QBShared.QBJobsStatus then - QBShared.Jobs = { +if QBShared.QBJobsStatus then return end +QBShared.Jobs = { ['unemployed'] = { label = 'Civilian', defaultDuty = true, @@ -284,5 +284,4 @@ if not QBShared.QBJobsStatus then }, }, }, - } -end +}