mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-15 07:51:50 +00:00
move world-related functions from core library
This commit is contained in:
parent
126a8485a1
commit
c57fe21120
6 changed files with 100 additions and 122 deletions
|
|
@ -21,7 +21,7 @@ function create_world()
|
|||
local seed = document.seed_box.text
|
||||
local generator = settings.generator
|
||||
session.reset_entry('new_world')
|
||||
core.new_world(name, seed, generator)
|
||||
app.new_world(name, seed, generator)
|
||||
end
|
||||
|
||||
function world_name_placeholder()
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<button onclick='menu:reset()'>@Continue</button>
|
||||
<button onclick='menu.page="content?mode=world"'>@Content</button>
|
||||
<button onclick='menu.page="settings"'>@Settings</button>
|
||||
<button onclick='core.close_world(true)'>
|
||||
<button onclick='app.close_world(true)'>
|
||||
@Save and Quit to Menu
|
||||
</button>
|
||||
</panel>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue