Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
love-template
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Delisa
love-template
Commits
18670cd5
Commit
18670cd5
authored
Aug 07, 2018
by
Delisa Mason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Correctly set source path
Stacktraces make much more sense this way
parent
b646ca03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
game/scene_loader.lua
game/scene_loader.lua
+1
-2
No files found.
game/scene_loader.lua
View file @
18670cd5
...
...
@@ -291,7 +291,6 @@ end
return
function
(
scene_file_path
)
local
content
=
readfile
(
scene_file_path
)
content
=
content
..
"
\n
return 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
()
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment