Skip to content

Commit

Permalink
fix(server/loops): correctly skip if society is too low (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon authored Oct 2, 2024
1 parent be04fec commit 696fdc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/loops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 696fdc9

Please sign in to comment.