This commit is contained in:
MihailRis
2025-11-04 12:13:55 +03:00
parent 9afe265094
commit d163f12e67
3 changed files with 5 additions and 17 deletions
+2 -2
View File
@@ -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"