migrate old networks on startup

This commit is contained in:
theFox6 2023-10-14 22:58:45 +02:00
parent 75e5a237f2
commit 6c79e7ce60
No known key found for this signature in database
GPG Key ID: 810803FF29A86CCC

@ -353,6 +353,11 @@ function network:load()
if self.strinv then if self.strinv then
self:load_inventory(self.strinv) self:load_inventory(self.strinv)
end end
--make sure someone has access to the network
if not self.access then
self.access = {}
end
self:fallback_access()
end end
function network:serialize() function network:serialize()