dropPiece事件改名hook_drop

This commit is contained in:
MrZ626
2021-11-12 23:20:29 +08:00
parent fce08c83ef
commit 8cbb4a38bc
62 changed files with 78 additions and 77 deletions

View File

@@ -303,7 +303,7 @@ local function _applyGameEnv(P)--Finish gameEnv processing
--Apply events
ENV.mesDisp=_mergeFuncTable(ENV.mesDisp,{})
ENV.dropPiece=_mergeFuncTable(ENV.dropPiece,{})
ENV.hook_drop=_mergeFuncTable(ENV.hook_drop,{})
ENV.task=_mergeFuncTable(ENV.task,{})
--Apply eventSet
@@ -314,7 +314,7 @@ local function _applyGameEnv(P)--Finish gameEnv processing
for k,v in next,eventSet do
if
k=='mesDisp'or
k=='dropPiece'or
k=='hook_drop'or
k=='task'
then
_mergeFuncTable(v,ENV[k])