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

@ -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;