mirror of
https://github.com/theFox6/microexpansion.git
synced 2024-11-19 22:03:54 +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
|
||||
self:load_inventory(self.strinv)
|
||||
end
|
||||
--make sure someone has access to the network
|
||||
if not self.access then
|
||||
self.access = {}
|
||||
end
|
||||
self:fallback_access()
|
||||
end
|
||||
|
||||
function network:serialize()
|
||||
|
Loading…
Reference in New Issue
Block a user