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
if self.waveIndex >= self.maxWaveIndex then
self.victory = true
self:postWaveOver(false)
self.victory = self.curWaveMonsterDead
self:postWaveOver(not self.curWaveMonsterDead)
self:battleEnd()
return
end