chore: V11 compat

This commit is contained in:
Matthieu CAILLEAUX
2023-06-26 12:43:35 +02:00
parent fc49c91024
commit 3451c86b36
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
"compatibility": {
"minimum": "10",
"verified": "10.287",
"maximum": "10"
"maximum": "11"
},
"authors": [
{
@@ -20,7 +20,7 @@
"id": "wfrp4e",
"type": "system",
"compatibility": {
"verified": "6.1.4"
"verified": "6.5.9"
}
}
],

View File

@@ -88,7 +88,7 @@ async function generate(actor: Actor & any, docBuilder: AbstractBuilder) {
let actorImageData: string | null = null;
if (actorImage != null) {
const texture = await loadTexture(actorImage);
actorImageData = ImageHelper.textureToImage(texture);
actorImageData = await ImageHelper.textureToImage(texture);
}
const currentCareer: Item & any = actor.currentCareer;
const careerData: ItemData & any = currentCareer;