From 696fdc9fa266fabe6c2d64971d8181e667fedaf5 Mon Sep 17 00:00:00 2001 From: Solareon <769465+solareon@users.noreply.github.com> Date: Wed, 2 Oct 2024 08:48:36 +0200 Subject: [PATCH] fix(server/loops): correctly skip if society is too low (#588) --- server/loops.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/loops.lua b/server/loops.lua index 32aad9733..eb64c5502 100644 --- a/server/loops.lua +++ b/server/loops.lua @@ -32,7 +32,7 @@ local function pay(player) return end local account = config.getSocietyAccount(job.name) - if not account or account == 0 then -- Checks if player is employed by a society + if not account then -- Checks if player is employed by a society config.sendPaycheck(player, payment) return end