1
This commit is contained in:
parent
84a84c76d8
commit
5afc890c58
@ -249,17 +249,17 @@ void Incubator::SpawnWaveMon(int wave)
|
||||
if (wave >= room->pve_mode_meta->waves.size()) {
|
||||
abort();
|
||||
}
|
||||
if (room->pve_data.refreshed_mon > 0 &&
|
||||
room->pve_data.mon_num <= 0) {
|
||||
timeout_ = true;
|
||||
return;
|
||||
}
|
||||
if (wave > 0 && room->IsDestoryRoom()) {
|
||||
return;
|
||||
}
|
||||
if (room->IsGameOver()) {
|
||||
return;
|
||||
}
|
||||
if (room->pve_data.refreshed_mon > 0 &&
|
||||
room->pve_data.mon_num <= 0) {
|
||||
timeout_ = true;
|
||||
return;
|
||||
}
|
||||
auto& mons = room->pve_mode_meta->waves[wave];
|
||||
for (MetaData::PveGeminiContent* content : mons) {
|
||||
room->xtimer.AddDeadLineTimerAndAttach
|
||||
|
Loading…
x
Reference in New Issue
Block a user