Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tome
Tales of MajEyal
Commits
50a29658
Commit
50a29658
authored
10 years ago
by
Alex Ksandra
Browse files
Options
Downloads
Patches
Plain Diff
Error messages less cryptic while superloading and the original load fails.
parent
23b15dfa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!150
Quality fixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/loader/init.lua
+6
-1
6 additions, 1 deletion
game/loader/init.lua
with
6 additions
and
1 deletion
game/loader/init.lua
+
6
−
1
View file @
50a29658
...
...
@@ -139,7 +139,12 @@ local te4_loader = function(name)
local
bname
=
name
-- Base loader
local
prev
=
loadfile
(
"/"
..
bname
:
gsub
(
"%."
,
"/"
)
..
".lua"
)
local
bfile
=
"/"
..
bname
:
gsub
(
"%."
,
"/"
)
..
".lua"
local
prev
,
err
=
loadfile
(
bfile
)
if
not
prev
and
err
then
error
(
"Error while loading base '"
..
bfile
..
"':\n"
..
tostring
(
err
))
return
nil
end
name
=
name
:
gsub
(
"%."
,
"/"
)
for
i
=
1
,
#
__addons_superload_order
do
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment