Commit 4b61215f09da6ff208e998eb93be20cbd628414d

Authored by zhouhaihai
1 parent db3c56ad

语法错误

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/models/RolePlugin.lua
... ... @@ -679,7 +679,7 @@ function RolePlugin.bind(Role)
679 679 local unlockData = csvdb["unlockCsv"][func]
680 680 if unlockData.type == 4 then -- 解锁神器
681 681 self:changeUpdates({{type = "advAFOpen", field = unlockData.value1, value = 1}})
682   - else TypeIsFunc[unlockData.type] then
  682 + elseif TypeIsFunc[unlockData.type] then
683 683 if unlockData.value1 == 0 or unlockData.value1 == 1 then
684 684 self:changeUpdates({{type = "funcOpen", field = unlockData.type, value = 1}})
685 685 else
... ...