Skip to content

Commit 602c3ec

Browse files
authored
3.2.7.3 (HFPS 3.2! 27/06/2024)
1 parent 2d42fea commit 602c3ec

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

BeatzGame.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Title: Beatz
33
* Author: Victor//GuayabR
44
* Date: 16/05/2024
5-
* Version: 3.2.7.2 test (release.version.subversion.bugfix)
5+
* Version: 3.2.7.2 public (release.version.subversion.bugfix)
66
**/
77

88
// CONSTANTS
@@ -1162,7 +1162,10 @@ function checkAndDisplayBestScore() {
11621162
// Endscreen
11631163
function drawEndScreen() {
11641164
ctx.clearRect(0, 0, WIDTH, HEIGHT);
1165-
ctx.drawImage(BGbright, 0, 0, 1280, 720);
1165+
1166+
if (backgroundIsntDefault) {
1167+
ctx.drawImage(BGbright, 0, 0, 1280, 720);
1168+
}
11661169

11671170
// Draw "Song completed!" text
11681171
ctx.fillStyle = "white";

BeatzGameTesting.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,10 @@ function checkAndDisplayBestScore() {
11621162
// Endscreen
11631163
function drawEndScreen() {
11641164
ctx.clearRect(0, 0, WIDTH, HEIGHT);
1165-
ctx.drawImage(BGbright, 0, 0, 1280, 720);
1165+
1166+
if (backgroundIsntDefault) {
1167+
ctx.drawImage(BGbright, 0, 0, 1280, 720);
1168+
}
11661169

11671170
// Draw "Song completed!" text
11681171
ctx.fillStyle = "white";

0 commit comments

Comments
 (0)