Commit 18323af79f8b613c2b84209b214018e21eeff876

Authored by zhouhaihai
1 parent 60cd3676

羁绊 bug

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/models/RolePlugin.lua
... ... @@ -605,9 +605,9 @@ function RolePlugin.bind(Role)
605 605 relations[camp] = (relations[camp] or 0) + 1
606 606 end
607 607 end
608   - if not next(relations) then return nil end
609   -
610 608 local curData = csvdb["unit_relationCsv"][0]
  609 + if not next(relations) then return curData end
  610 +
611 611 for _, data in ipairs(csvdb["unit_relationCsv"]) do
612 612 local had = {}
613 613 local isDone = true
... ...