From 1a61f6871b5f4743d3a82c04707c7758fe7f24b6 Mon Sep 17 00:00:00 2001 From: Mees Roelofsz Date: Fri, 12 Jan 2024 11:11:10 +0100 Subject: [PATCH] fixed score when paused --- web/game.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/game.js b/web/game.js index 494ec1c..bfe90af 100644 --- a/web/game.js +++ b/web/game.js @@ -651,7 +651,9 @@ function game() { pop(); if (hasMoved == true) { push(); - score(); + if (!pausescreenOn) { + score(); + } textSize(10); textAlign(LEFT); fill(255, 0, 255)