Commit ecf464a34ea73ee79d77941447680dfccac94012

Authored by zhouhaihai
1 parent 1b36bb26

冒险开始bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/AdvAction.lua
@@ -161,7 +161,7 @@ function _M.startAdvRpc( agent, data ) @@ -161,7 +161,7 @@ function _M.startAdvRpc( agent, data )
161 role:getAdvData():initByChapter(chapterId, layer, false, false, layer ~= 1, true, support) 161 role:getAdvData():initByChapter(chapterId, layer, false, false, layer ~= 1, true, support)
162 role:checkTaskEnter("AdvStart", {id = chapterId}) 162 role:checkTaskEnter("AdvStart", {id = chapterId})
163 role:checkTaskEnter("AdvStartSelf", {id = chapterId}) 163 role:checkTaskEnter("AdvStartSelf", {id = chapterId})
164 - adv:popBackEvents() -- 清一下事件 164 + role:getAdvData():popBackEvents() -- 清一下事件
165 SendPacket(actionCodes.Adv_startAdvRpc, '') 165 SendPacket(actionCodes.Adv_startAdvRpc, '')
166 return true 166 return true
167 end 167 end