fixed MIME error, wait for css to load

This commit is contained in:
evanpelle
2024-08-25 09:52:40 -07:00
parent 6f1848dbc7
commit 453935176e
4 changed files with 124 additions and 110 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export function loadTerrainMap(): TerrainMap {
console.log(`Decoded dimensions: ${width}x${height}`);
// Log the first 100 bytes of data (including the width and height bytes)
logBinaryAsAscii(fileData, 100);
// logBinaryAsAscii(fileData, 100);
// Check if the data length matches the expected size
if (fileData.length != width * height + 4) { // +4 for the width and height bytes