forked from mtcontrib/factions
Move players to offline onload.
This commit is contained in:
parent
3bf0f99aa4
commit
b52f1c6760
@ -837,8 +837,12 @@ function factions.load()
|
|||||||
faction.last_logon = os.time()
|
faction.last_logon = os.time()
|
||||||
end
|
end
|
||||||
if not faction.no_parcel then
|
if not faction.no_parcel then
|
||||||
faction.no_parcel = os.time()
|
faction.no_parcel = os.time()
|
||||||
end
|
end
|
||||||
|
for i, _ in pairs(faction.onlineplayers) do
|
||||||
|
faction.offlineplayers[i] = _
|
||||||
|
end
|
||||||
|
faction.onlineplayers = {}
|
||||||
end
|
end
|
||||||
file:close()
|
file:close()
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user