Skip to content

Commit

Permalink
修直接写在模式的env里的特殊事件不会被加载
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Aug 12, 2024
1 parent a8e0574 commit 5f5dd48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parts/player/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5f5dd48

Please sign in to comment.