mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
feat: menu pages dispatching
This commit is contained in:
parent
43dc88c6b5
commit
1a246e2ae0
3 changed files with 23 additions and 2 deletions
|
|
@ -201,7 +201,7 @@ _GUI_ROOT = Document.new("core:root")
|
|||
_MENU = _GUI_ROOT.menu
|
||||
menu = _MENU
|
||||
|
||||
local gui_util = require "core:gui_util"
|
||||
gui_util = require "core:gui_util"
|
||||
__vc_page_loader = gui_util.load_page
|
||||
|
||||
--- Console library extension ---
|
||||
|
|
@ -408,6 +408,7 @@ end
|
|||
|
||||
function __vc_on_world_quit()
|
||||
_rules.clear()
|
||||
gui_util:reset_local()
|
||||
end
|
||||
|
||||
local __vc_coroutines = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue