Fixed auto-deletion not working

This commit is contained in:
shamoanjac 2016-08-27 19:09:54 +02:00
parent 134ef287af
commit 919666c7f7

View File

@ -711,7 +711,7 @@ factions.faction_tick = function()
if faction:is_online() then
faction:increase_power(factions.power_per_tick)
end
if faction.last_logon - now > factions.maximum_faction_inactivity then
if now - faction.last_logon > factions.maximum_faction_inactivity then
faction:disband()
end
end