cutechicken commited on
Commit
af44ca9
·
verified ·
1 Parent(s): 1c7772e

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +16 -15
index.html CHANGED
@@ -374,21 +374,22 @@
374
  }
375
  return true;
376
  });
377
- if(enemies.length === 0) {
378
- if (!isBossStage) {
379
- if(currentRound < 10) {
380
- nextRoundBtn.style.display = 'block'; // 다음 라운드 버튼 표시
381
- showShop();
382
- } else {
383
- document.getElementById('bossButton').style.display = 'block';
384
- }
385
- } else {
386
- gameOver = true;
387
- document.getElementById('winMessage').style.display = 'block';
388
- restartBtn.style.display = 'block';
389
- bgm.pause();
390
- }
391
- }
 
392
  }
393
  }
394
 
 
374
  }
375
  return true;
376
  });
377
+ if(enemies.length === 0) { // 들여쓰기 수정
378
+ if (!isBossStage) {
379
+ if(currentRound < 10) {
380
+ nextRoundBtn.style.display = 'block';
381
+ showShop();
382
+ } else {
383
+ document.getElementById('bossButton').style.display = 'block';
384
+ }
385
+ } else {
386
+ gameOver = true;
387
+ document.getElementById('winMessage').style.display = 'block';
388
+ restartBtn.style.display = 'block';
389
+ bgm.pause();
390
+ }
391
+ }
392
+ }
393
  }
394
  }
395