10 웨이브 이후 카운트 나오는 문제 수정

This commit is contained in:
Mingu Kim
2025-03-01 21:44:52 +09:00
parent 7ae1624506
commit fb9423ac25

View File

@@ -89,7 +89,7 @@ namespace TON
activeMonsters.RemoveAll(monster => monster == null); activeMonsters.RemoveAll(monster => monster == null);
// 모든 몬스터가 죽었는지 확인하고 다음 웨이브 준비 // 모든 몬스터가 죽었는지 확인하고 다음 웨이브 준비
if (activeMonsters.Count == 0 && currentWave > 0 && !isWaitingForNextWave) if (activeMonsters.Count == 0 && currentWave > 0 && currentWave < 11 && !isWaitingForNextWave)
{ {
isWaitingForNextWave = true; isWaitingForNextWave = true;
StartCoroutine(StartNextWaveWithDelay()); StartCoroutine(StartNextWaveWithDelay());