forked from mtcontrib/factions
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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user