Commit 0253865262b5945c3c25ae1b58e5d19ac836c496

Authored by zhouhaihai
1 parent 7ca46333

复制bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/models/HeroPlugin.lua
... ... @@ -273,7 +273,7 @@ function HeroPlugin.bind(Hero)
273 273 if uid > 0 then
274 274 local runeData = self.owner.runeBag[uid]
275 275 if not runeData then return end
276   - local csvData = csvdb["runeCsv"][runeData.type][runeData.id]
  276 + local csvData = csvdb["runeCsv"][runeData:getProperty("type")][runeData:getProperty("id")]
277 277 if not suits[csvData.suit] then suits[csvData.suit] = {} end
278 278 table.insert(suits[csvData.suit],csvData)
279 279 end
... ...