This commit is contained in:
aozhiwei 2022-08-22 17:56:00 +08:00
parent 5d1bac210d
commit 38943b5ab8

View File

@ -252,6 +252,9 @@ void Incubator::SpawnWaveMon(int wave)
if (wave > 0 && room->IsDestoryRoom()) { if (wave > 0 && room->IsDestoryRoom()) {
return; return;
} }
if (room->IsGameOver()) {
return;
}
auto& mons = room->pve_mode_meta->waves[wave]; auto& mons = room->pve_mode_meta->waves[wave];
for (MetaData::PveGeminiContent* content : mons) { for (MetaData::PveGeminiContent* content : mons) {
room->xtimer.AddDeadLineTimerAndAttach room->xtimer.AddDeadLineTimerAndAttach