Commit 313069e343fec7f80430ad70d75ba3012f34f016
Merge branch 'bugfix' into qa
* bugfix: bug
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/models/RoleChangeStruct.lua
... | ... | @@ -34,8 +34,9 @@ end) |
34 | 34 | local bugFixSuduku = createVersionFunc(VersionType.DoOnly, function(role, params) |
35 | 35 | local sudoku = role:getProperty("sudoku") |
36 | 36 | local phase = sudoku[-1] or 1 |
37 | + local id = 9 | |
37 | 38 | if phase == 1 then |
38 | - local curData = (csvdb["guide_sudokuCsv"][phase] or {})[9] | |
39 | + local curData = (csvdb["guide_sudokuCsv"][phase] or {})[id] | |
39 | 40 | if role:checkHangPass(curData.con2) then |
40 | 41 | sudoku.task = sudoku.task or {} |
41 | 42 | sudoku.task[phase] = sudoku.task[phase] or {} | ... | ... |