Remove: root
This commit is contained in:
parent
9c4334e19c
commit
52b9000960
@ -3,18 +3,16 @@
|
|||||||
factions = {}
|
factions = {}
|
||||||
|
|
||||||
-- database
|
-- database
|
||||||
factions.root = {}
|
|
||||||
factions.factions = {}
|
factions.factions = {}
|
||||||
factions.parcels = {}
|
factions.parcels = {}
|
||||||
factions.players = {}
|
factions.players = {}
|
||||||
factions.player_ips = {}
|
factions.player_ips = {}
|
||||||
|
|
||||||
dofile(minetest.get_modpath("fac_database") .. "/storagedb.lua")
|
dofile(minetest.get_modpath("fac_database") .. "/storagedb.lua")
|
||||||
factions.root = storagedb.Storagedb("factions")
|
factions.factions = storagedb.Storagedb("factions")
|
||||||
factions.factions = factions.root.sub_database("factions")
|
factions.parcels = storagedb.Storagedb("parcels")
|
||||||
factions.parcels = factions.root.sub_database("parcels")
|
factions.players = storagedb.Storagedb("players")
|
||||||
factions.players = factions.root.sub_database("players")
|
factions.player_ips = storagedb.Storagedb("ips")
|
||||||
factions.player_ips = factions.root.sub_database("ips")
|
|
||||||
|
|
||||||
-- Memory only storage.
|
-- Memory only storage.
|
||||||
factions.onlineplayers = {}
|
factions.onlineplayers = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user