fix: game over title does not overlap with final game stats
This commit is contained in:
1 parent
619d823e3f
commit
cf010c2cea
1 file changed
+1
-1
+1
-1
@@ -878,7 +878,7 @@ function drawGameOverPanel() {
|
||||
drawPanelBg(framebuffer);
|
||||
drawPanelTitle(framebuffer, 'GAME OVER');
|
||||
|
||||
const y = 80;
|
||||
const y = 90;
|
||||
const sortedPlayers = [...players].sort((a, b) => b.wins - a.wins || b.kills - a.kills);
|
||||
|
||||
for (let i=0; i<sortedPlayers.length; i++) {
|
||||
|
||||
Reference in new issue
Block a user