Update to level watch

This commit is contained in:
Brian Fertig 2026-02-12 23:50:40 -07:00
parent ffa6b07637
commit bf0f6e48e9
1 changed files with 3 additions and 3 deletions

View File

@ -600,9 +600,9 @@
linesClearedTotal += rowCount;
// Level Up Logic: Every 8 rows
if (linesClearedTotal % 5 === 0) {
levelUp();
// Level Up Logic: Every 5 rows
while (linesClearedTotal >= level * 5) {
levelUp(); // increments `level` and updates UI
}
}
}