Skip to content

Commit 8f605a2

Browse files
att
1 parent d4501f5 commit 8f605a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

luasrc/module_load.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ load_global_module = function(script_name,is_main)
3636

3737
script_dir_name = dtw.newPath(filename).get_dir()
3838
is_main_script = is_main
39-
dofile(filename)
39+
local result = dofile(filename)
4040
is_main_script = false
41-
41+
return result
4242
end

0 commit comments

Comments
 (0)