mirror of
https://github.com/danbulant/heaventaker
synced 2026-06-19 22:51:50 +00:00
fix preload
This commit is contained in:
parent
a0e0a6d3a9
commit
2bc895f314
1 changed files with 2 additions and 2 deletions
|
|
@ -17,12 +17,12 @@
|
|||
}
|
||||
for(let character of characters) {
|
||||
if(character.art) {
|
||||
preload("." + character.art); // preload art
|
||||
preload("./images/angels/" + character.art + ".webp"); // preload art
|
||||
}
|
||||
}
|
||||
for(let d of dialog) {
|
||||
if(d.background) {
|
||||
preload("." + d.background); // preload art
|
||||
preload("./images/backgrounds/" + d.background + ".webp"); // preload art
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue