mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Handle missing gen.bmp
This commit is contained in:
parent
6fdfc18643
commit
188bb3027d
1 changed files with 3 additions and 0 deletions
|
|
@ -209,6 +209,9 @@ async function genRegion(zip) {
|
|||
|
||||
async function genGenTextSprites(zip) {
|
||||
const img = await genImgFromFilename(zip, "GEN");
|
||||
if (img == null) {
|
||||
return {};
|
||||
}
|
||||
|
||||
const canvas = document.createElement("canvas");
|
||||
const context = canvas.getContext("2d");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue