diff --git a/module/blades-roll.js b/module/blades-roll.js index 3e5220c..c298078 100644 --- a/module/blades-roll.js +++ b/module/blades-roll.js @@ -215,7 +215,7 @@ export async function simpleRollPopup() { icon: "", label: `Roll`, callback: async (html) => { - let diceQty = html.find('[name="qty"]')[0].value; + let diceQty = parseInt(html.find('[name="qty"]')[0].value, 10); let note = html.find('[name="note"]')[0].value; await bladesRoll(diceQty,"","","",note); },