This commit is contained in:
Renan LE CARO 2025-03-19 18:03:38 +01:00
parent 1c4f3d1451
commit 1839977fed
7 changed files with 8 additions and 8 deletions

View file

@ -1,5 +1,5 @@
// The version of the cache.
const VERSION = "29039851";
const VERSION = "29040063";
// The name of the cache
const CACHE_NAME = `breakout-71-${VERSION}`;

View file

@ -1 +1 @@
"29039851"
"29040063"

View file

@ -495,7 +495,7 @@ export async function setLevel(gameState: GameState, l: number) {
empty(gameState.lights);
empty(gameState.texts);
gameState.bricks = [...lvl.bricks];
gameState.needsRender = true;
// This caused problems with accented characters like the ô of côte d'ivoire for odd reasons
// background.src = 'data:image/svg+xml;base64,' + btoa(lvl.svg)
background.src = "data:image/svg+xml;UTF8," + lvl.svg;