Fix incorrect initialization of database.textlist
This commit is contained in:
parent
6317a11faa
commit
c1fc68ee33
2
init.lua
2
init.lua
@ -1368,7 +1368,7 @@ function ltool.join(player)
|
|||||||
infotable.treeform.database = {}
|
infotable.treeform.database = {}
|
||||||
--[[ This table stores a mapping of the textlist IDs in the database formspec and the tree IDs.
|
--[[ This table stores a mapping of the textlist IDs in the database formspec and the tree IDs.
|
||||||
It is updated each time ltool.tab_database is called. ]]
|
It is updated each time ltool.tab_database is called. ]]
|
||||||
infotable.treeform.database.textlist = nil
|
infotable.treeform.database.textlist = {}
|
||||||
--[[ the “fields” tables store the values of the input fields of a formspec. It is updated
|
--[[ the “fields” tables store the values of the input fields of a formspec. It is updated
|
||||||
whenever the formspec is changed, i.e. on tab change ]]
|
whenever the formspec is changed, i.e. on tab change ]]
|
||||||
infotable.treeform.database.fields = {}
|
infotable.treeform.database.fields = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user