修直接写在模式的env里的特殊事件不会被加载
This commit is contained in:
@@ -252,6 +252,7 @@ local tableNeedMerge={
|
|||||||
'hook_die',
|
'hook_die',
|
||||||
'extraEvent',
|
'extraEvent',
|
||||||
}
|
}
|
||||||
|
for _,k in next,tableNeedMerge do gameEnv0[k]={} end
|
||||||
local function _mergeFuncTable(f,L)
|
local function _mergeFuncTable(f,L)
|
||||||
if type(f)=='function' then
|
if type(f)=='function' then
|
||||||
ins(L,f)
|
ins(L,f)
|
||||||
|
|||||||
Reference in New Issue
Block a user