Fixed auto-deletion not working
This commit is contained in:
parent
134ef287af
commit
919666c7f7
@ -711,7 +711,7 @@ factions.faction_tick = function()
|
|||||||
if faction:is_online() then
|
if faction:is_online() then
|
||||||
faction:increase_power(factions.power_per_tick)
|
faction:increase_power(factions.power_per_tick)
|
||||||
end
|
end
|
||||||
if faction.last_logon - now > factions.maximum_faction_inactivity then
|
if now - faction.last_logon > factions.maximum_faction_inactivity then
|
||||||
faction:disband()
|
faction:disband()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user