dropPiece事件改名hook_drop
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user