Commit 18670cd5 authored by Delisa Mason's avatar Delisa Mason

fix: Correctly set source path

Stacktraces make much more sense this way
parent b646ca03
......@@ -291,7 +291,6 @@ end
return function(scene_file_path)
local content = readfile(scene_file_path)
content = content .. "\nreturn END()"
local scene = load(content, nil, nil, SceneDSL())
-- TODO: return sensible error state if loading fails
local scene = load(content, scene_file_path, nil, SceneDSL())
return scene()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment