fixed rolling if using untranslated language

This commit is contained in:
TheLastScrub
2021-03-14 19:58:24 -07:00
parent 4c430296c3
commit 24b16e5da8
+2 -2
View File
@@ -247,11 +247,11 @@ export async function showModifyPercentileTestDialogue(actor, label, originalTar
new Dialog({
content: html,
title: game.i18n.localize("DG.ModifySkillRollDialogue.Title"),
title: localizeWithFallback("DG.ModifySkillRollDialogue.Title", "Modify Roll"),
default: "roll",
buttons: {
roll:{
label: game.i18n.translations.DG.Roll.Roll,
label: localizeWithFallback("DG.Roll.Roll", "Roll"),
callback: html => {
try{