Commit 1e33ae303d686026f0056a8bb7d2da379ba25900
1 parent
18ed80b0
数据保护
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/models/RolePlugin.lua
| ... | ... | @@ -995,7 +995,7 @@ function RolePlugin.bind(Role) |
| 995 | 995 | for id, status in pairs(advEAchiev[self.advElChapter] or {}) do |
| 996 | 996 | if status == -1 then |
| 997 | 997 | local achvData = csvdb["adv_achievementCsv"][id] |
| 998 | - if achvData.support ~= 0 then | |
| 998 | + if achvData and achvData.support ~= 0 then | |
| 999 | 999 | effect[achvData.support] = 1 |
| 1000 | 1000 | end |
| 1001 | 1001 | end | ... | ... |