mirror of
https://github.com/theFox6/microexpansion.git
synced 2024-11-29 10:23:56 +01:00
migrate old networks on startup
This commit is contained in:
parent
75e5a237f2
commit
6c79e7ce60
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user