mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
add config/defaults.toml
This commit is contained in:
parent
de00414456
commit
04e490c896
9 changed files with 21 additions and 16 deletions
1
res/config/defaults.toml
Normal file
1
res/config/defaults.toml
Normal file
|
|
@ -0,0 +1 @@
|
|||
generator = "core:default"
|
||||
1
res/content/base/config/defaults.toml
Normal file
1
res/content/base/config/defaults.toml
Normal file
|
|
@ -0,0 +1 @@
|
|||
generator = "base:demo"
|
||||
|
|
@ -29,7 +29,7 @@ function on_open()
|
|||
"%s [%s]", gui.str("Content", "menu"), #pack.get_installed()
|
||||
)
|
||||
if settings.generator == nil then
|
||||
settings.generator = core.get_default_generator()
|
||||
settings.generator = generation.get_default_generator()
|
||||
end
|
||||
document.generator_btn.text = string.format(
|
||||
"%s: %s",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue