Merge branch 'fix-character-sheet-not-loading' into 'master'

Fix a bug where character sheets would not load

See merge request dungeonslayers/ds4!123
This commit is contained in:
Johannes Loher 2021-07-11 23:40:51 +00:00
commit c98b34cc9b
2 changed files with 1 additions and 2 deletions

View file

@ -36,6 +36,6 @@ declare global {
const fonts = ["Lora", "Wood Stamp"]; const fonts = ["Lora", "Wood Stamp"];
export async function preloadFonts() { export async function preloadFonts(): Promise<FontFace[][]> {
return Promise.all(fonts.map((font) => document.fonts.load(`1rem ${font}`))); return Promise.all(fonts.map((font) => document.fonts.load(`1rem ${font}`)));
} }

View file

@ -31,7 +31,6 @@ export default async function registerHandlebarsPartials(): Promise<void> {
"systems/ds4/templates/sheets/actor/tabs/character-inventory.hbs", "systems/ds4/templates/sheets/actor/tabs/character-inventory.hbs",
"systems/ds4/templates/sheets/actor/tabs/creature-inventory.hbs", "systems/ds4/templates/sheets/actor/tabs/creature-inventory.hbs",
"systems/ds4/templates/sheets/actor/tabs/description.hbs", "systems/ds4/templates/sheets/actor/tabs/description.hbs",
"systems/ds4/templates/sheets/actor/tabs/profile.hbs",
"systems/ds4/templates/sheets/actor/tabs/special-creature-abilities.hbs", "systems/ds4/templates/sheets/actor/tabs/special-creature-abilities.hbs",
"systems/ds4/templates/sheets/actor/tabs/spells.hbs", "systems/ds4/templates/sheets/actor/tabs/spells.hbs",
"systems/ds4/templates/sheets/actor/tabs/values.hbs", "systems/ds4/templates/sheets/actor/tabs/values.hbs",