修直接写在模式的env里的特殊事件不会被加载

This commit is contained in:
MrZ_26
2024-08-12 12:04:29 +08:00
parent a8e0574f44
commit 5f5dd48ee8

View File

@@ -252,6 +252,7 @@ local tableNeedMerge={
'hook_die',
'extraEvent',
}
for _,k in next,tableNeedMerge do gameEnv0[k]={} end
local function _mergeFuncTable(f,L)
if type(f)=='function' then
ins(L,f)