Commit 76c4808543bba148f0afa0dedd458c34601e94dc
1 parent
c8235ab8
下一关提前
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/adv/Adv.lua
@@ -1129,8 +1129,8 @@ local function clickOut(self, room, block, params, isExit) | @@ -1129,8 +1129,8 @@ local function clickOut(self, room, block, params, isExit) | ||
1129 | if curFloorData then | 1129 | if curFloorData then |
1130 | self:award({[ItemId.AdvPoint] = curFloorData.exp}, {log = {desc = "passReward", int1 = self.chapterId, int2 = self.level}}, {}) | 1130 | self:award({[ItemId.AdvPoint] = curFloorData.exp}, {log = {desc = "passReward", int1 = self.chapterId, int2 = self.level}}, {}) |
1131 | end | 1131 | end |
1132 | + self:backNext() --下一关 | ||
1132 | local isHaveRelay = self:isHaveRelay(self.level) | 1133 | local isHaveRelay = self:isHaveRelay(self.level) |
1133 | - | ||
1134 | if isHaveRelay and not self.isRelay then | 1134 | if isHaveRelay and not self.isRelay then |
1135 | self:initByChapter({ | 1135 | self:initByChapter({ |
1136 | chapterId = self.chapterId, | 1136 | chapterId = self.chapterId, |
@@ -1148,7 +1148,6 @@ local function clickOut(self, room, block, params, isExit) | @@ -1148,7 +1148,6 @@ local function clickOut(self, room, block, params, isExit) | ||
1148 | notNotify = true, | 1148 | notNotify = true, |
1149 | }) | 1149 | }) |
1150 | end | 1150 | end |
1151 | - self:backNext() --下一关 | ||
1152 | end | 1151 | end |
1153 | 1152 | ||
1154 | end | 1153 | end |