Improve loadImage to use a placeholder and prevent game crash

This commit is contained in:
Schluffe
2026-08-08 19:15:47 +02:00
parent 9bdffd06e4
commit e0c22b6952
3 changed files with 23 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<rect width="16" height="16" fill="#ff00ff"/>
<rect width="8" height="8" fill="#000000"/>
<rect x="8" y="8" width="8" height="8" fill="#000000"/>
</svg>

After

Width:  |  Height:  |  Size: 220 B