Move players to offline onload.

This commit is contained in:
Coder12a 2018-10-17 11:47:53 -05:00
parent 3bf0f99aa4
commit b52f1c6760

View File

@ -837,8 +837,12 @@ function factions.load()
faction.last_logon = os.time()
end
if not faction.no_parcel then
faction.no_parcel = os.time()
faction.no_parcel = os.time()
end
for i, _ in pairs(faction.onlineplayers) do
faction.offlineplayers[i] = _
end
faction.onlineplayers = {}
end
file:close()
end