This commit is contained in:
aozhiwei 2022-08-25 19:48:33 +08:00
parent e7f0395e79
commit d5f73b7ff6

View File

@ -320,7 +320,7 @@ void Incubator::SpawnWaveMon(int wave)
int Incubator::GetPveLeftTime()
{
if (room->pve_data.wave > wave_timers_.size() ||
if (room->pve_data.wave >= wave_timers_.size() ||
room->pve_data.wave < 0) {
return 0;
}