forked from mtcontrib/factions
Update code to use new API functions
This commit is contained in:
@ -710,7 +710,7 @@ factions.faction_tick = function()
|
||||
if faction:is_online() then
|
||||
faction:increase_power(factions.power_per_tick)
|
||||
end
|
||||
if faction.last_logon > factions.maximum_faction_inactivity then
|
||||
if faction.last_logon - now > factions.maximum_faction_inactivity then
|
||||
faction:disband()
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user