Commit 614d504ddd2860d2a18e53671beafc4a2838b8c6

Authored by zhouhaihai
1 parent c2e24956

选择 bug

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/adv/Adv.lua
... ... @@ -1613,7 +1613,8 @@ local function chooseCommon(self, room, block, chooseData, choose, tag)
1613 1613 if not chooseData or not chooseData["button".. choose .."cond"] then return end
1614 1614 if not checkChooseCondFunc(self, chooseData["button".. choose .."cond"], room, block, tag, chooseData) then return end
1615 1615 local clearBlock = chooseData.keep ~= 1
1616   - clearBlock = clearBlock and doChooseEffect(self, chooseData["button".. choose .."effect"], room, block, tag, chooseData)
  1616 + local clearBlock_ = doChooseEffect(self, chooseData["button".. choose .."effect"], room, block, tag, chooseData)
  1617 + clearBlock = clearBlock and clearBlock_
1617 1618 self:scoreChange(AdvScoreType.Event, chooseData.advScore) --增加加分
1618 1619 return true, clearBlock
1619 1620 end
... ...