10 웨이브 이후 카운트 나오는 문제 수정
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user