fix: game over title does not overlap with final game stats

This commit is contained in:
catarrh committed 2026-07-25 00:02:59 +03:00
1 parent 619d823e3f
commit cf010c2cea
1 file changed
+1 -1
+1 -1
View File
@@ -878,7 +878,7 @@ function drawGameOverPanel() {
drawPanelBg(framebuffer); drawPanelBg(framebuffer);
drawPanelTitle(framebuffer, 'GAME OVER'); drawPanelTitle(framebuffer, 'GAME OVER');
const y = 80; const y = 90;
const sortedPlayers = [...players].sort((a, b) => b.wins - a.wins || b.kills - a.kills); const sortedPlayers = [...players].sort((a, b) => b.wins - a.wins || b.kills - a.kills);
for (let i=0; i<sortedPlayers.length; i++) { for (let i=0; i<sortedPlayers.length; i++) {