几个table相关函数独立成TABLE模块

This commit is contained in:
MrZ626
2021-03-05 09:31:19 +08:00
parent b1ca2c8dda
commit 75f1651042
7 changed files with 26 additions and 21 deletions

View File

@@ -211,7 +211,7 @@ local function loadGameEnv(P)--Load gameEnv
if type(v)~="table"then--Default setting
ENV[k]=v
else
ENV[k]=copyTable(v)
ENV[k]=TABLE.copy(v)
end
end
if not ENV.noMod then
@@ -244,7 +244,7 @@ local function loadRemoteEnv(P,confStr)--Load gameEnv
if type(v)~="table"then--Default setting
ENV[k]=v
else
ENV[k]=copyTable(v)
ENV[k]=TABLE.copy(v)
end
end
end