Commit 2b4c46448b5b0aa0e84ea9f9c370dc8cda425a4d

Authored by zhouhaihai
1 parent 040c6558

role -> self bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/models/RolePlugin.lua
@@ -301,7 +301,7 @@ function RolePlugin.bind(Role) @@ -301,7 +301,7 @@ function RolePlugin.bind(Role)
301 newHero.owner = self 301 newHero.owner = self
302 newHero:saveBattleValue() 302 newHero:saveBattleValue()
303 self.heros[heroId] = newHero 303 self.heros[heroId] = newHero
304 - self:checkTaskEnter(role.TaskType.AddHero, {heroType = heroType, wakeL = newHero:getProperty("wakeL")}, params.notNotify) 304 + self:checkTaskEnter(self.TaskType.AddHero, {heroType = heroType, wakeL = newHero:getProperty("wakeL")}, params.notNotify)
305 if not params.notNotify then 305 if not params.notNotify then
306 local heroResponse = {} 306 local heroResponse = {}
307 table.insert(heroResponse, newHero:data()) 307 table.insert(heroResponse, newHero:data())