Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nemo Ma
no81cards
Commits
e2f2f953
Commit
e2f2f953
authored
May 26, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b055534e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
expansions/script/c11410000.lua
expansions/script/c11410000.lua
+5
-4
expansions/script/special.lua
expansions/script/special.lua
+5
-4
No files found.
expansions/script/c11410000.lua
View file @
e2f2f953
...
...
@@ -73,11 +73,12 @@ if not require and Duel.LoadScript then
function
require
(
str
)
require_list
=
require_list
or
{}
local
name
=
str
for
word
in
string.gmatch
(
str
,
"
%w
+"
)
do
for
word
in
string.gmatch
(
str
,
"
[^/]
+"
)
do
name
=
word
end
if
not
string.find
(
name
,
"%."
)
then
name
=
name
..
".lua"
end
if
not
require_list
[
str
]
then
require_list
[
str
]
=
Duel
.
LoadScript
(
name
..
".lua"
)
require_list
[
str
]
=
Duel
.
LoadScript
(
name
)
end
return
require_list
[
str
]
end
...
...
@@ -101,7 +102,7 @@ if not dofile and Duel.LoadScript then
function
dofile
(
str
)
require_list
=
require_list
or
{}
local
name
=
str
for
word
in
string.gmatch
(
str
,
"
%w
+"
)
do
for
word
in
string.gmatch
(
str
,
"
[^/]
+"
)
do
name
=
word
end
if
not
require_list
[
str
]
then
...
...
@@ -112,7 +113,7 @@ if not dofile and Duel.LoadScript then
function
loadfile
(
str
)
require_list
=
require_list
or
{}
local
name
=
str
for
word
in
string.gmatch
(
str
,
"
%w
+"
)
do
for
word
in
string.gmatch
(
str
,
"
[^/]
+"
)
do
name
=
word
end
return
function
()
...
...
expansions/script/special.lua
View file @
e2f2f953
...
...
@@ -81,11 +81,12 @@ function Auxiliary.PreloadUds()
function
require
(
str
)
require_list
=
require_list
or
{}
local
name
=
str
for
word
in
string.gmatch
(
str
,
"
%w
+"
)
do
for
word
in
string.gmatch
(
str
,
"
[^/]
+"
)
do
name
=
word
end
if
not
string.find
(
name
,
"%."
)
then
name
=
name
..
".lua"
end
if
not
require_list
[
str
]
then
require_list
[
str
]
=
Duel
.
LoadScript
(
name
..
".lua"
)
require_list
[
str
]
=
Duel
.
LoadScript
(
name
)
end
return
require_list
[
str
]
end
...
...
@@ -109,7 +110,7 @@ function Auxiliary.PreloadUds()
function
dofile
(
str
)
require_list
=
require_list
or
{}
local
name
=
str
for
word
in
string.gmatch
(
str
,
"[
%w+%.+]
"
)
do
for
word
in
string.gmatch
(
str
,
"[
^/]+
"
)
do
name
=
word
end
if
not
require_list
[
str
]
then
...
...
@@ -120,7 +121,7 @@ function Auxiliary.PreloadUds()
function
loadfile
(
str
)
require_list
=
require_list
or
{}
local
name
=
str
for
word
in
string.gmatch
(
str
,
"[
%w+%.+]
"
)
do
for
word
in
string.gmatch
(
str
,
"[
^/]+
"
)
do
name
=
word
end
return
function
()
...
...
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