mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix
This commit is contained in:
parent
9afe265094
commit
d163f12e67
3 changed files with 5 additions and 17 deletions
|
|
@ -198,8 +198,8 @@ function __vc_start_app_script(path)
|
|||
error(err)
|
||||
end
|
||||
local script_env = setmetatable({app = app or __vc_app}, {__index=_G})
|
||||
setfenv(chunk, script_env)
|
||||
return start_coroutine(chunk, path)
|
||||
chunk = setfenv(chunk, script_env)
|
||||
return __vc_start_coroutine(chunk, path)
|
||||
end
|
||||
|
||||
gui_util = require "core:internal/gui_util"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue