Commit c8235ab8a64a271e8818f98a70a51099e4637923
1 parent
55c7c172
battle Bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/models/RoleBattle.lua
... | ... | @@ -44,7 +44,7 @@ function Role:checkBattle(battleType, params) |
44 | 44 | |
45 | 45 | local fixData = { |
46 | 46 | hang = function() |
47 | - for slot, hero in pairs(self:getProperty("hangTS")) do | |
47 | + for slot, hero in pairs(self:getProperty("hangTS").heros) do | |
48 | 48 | selflist[slot] = hero.type |
49 | 49 | end |
50 | 50 | heroscore = self:getProperty("hangTBV") | ... | ... |