Commit 761da510 authored by Nemo Ma's avatar Nemo Ma

Update c11410000.lua

parent bb3ea896
......@@ -97,7 +97,11 @@ if not Duel.LoadScript and loadfile then
require_list=require_list or {}
str="expansions/script/"..str
if not require_list[str] then
require_list[str]=loadfile(str..".lua")
if string.find(str,"%.") then
require_list[str]=loadfile(str)
else
require_list[str]=loadfile(str..".lua")
end
pcall(require_list[str])
end
return require_list[str]
......
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