Trying to fix advancement behavior who sometime left point on old choice.

This commit is contained in:
Vlyan
2022-01-09 14:29:28 +01:00
parent 09bb92ae61
commit a39cc0e326
5 changed files with 23 additions and 11 deletions

View File

@@ -318,7 +318,7 @@ export class HelpersL5r5e {
if (!types) {
types = game.system.entityTypes.Item;
}
const title = game.i18n.format("ENTITY.Create", { entity: game.i18n.localize("Item") });
const title = game.i18n.format("DOCUMENT.Create", { type: game.i18n.localize("Item") });
// Render the template
const html = await renderTemplate(`${CONFIG.l5r5e.paths.templates}dialogs/choose-item-type-dialog.html`, {