bug修复

This commit is contained in:
xiekaidong 2023-06-16 10:58:10 +08:00
parent f2047f1833
commit 942f06485f

View File

@ -648,8 +648,8 @@ function BattleController:enterNextWave()
end end
if self.waveIndex >= self.maxWaveIndex then if self.waveIndex >= self.maxWaveIndex then
self.victory = true self.victory = self.curWaveMonsterDead
self:postWaveOver(false) self:postWaveOver(not self.curWaveMonsterDead)
self:battleEnd() self:battleEnd()
return return
end end