forked from mtcontrib/factions
Move players to offline onload.
This commit is contained in:
parent
3bf0f99aa4
commit
b52f1c6760
@ -839,6 +839,10 @@ function factions.load()
|
|||||||
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