forgot to resolve the promise

pull/2623/head
Le~Kat 2023-02-25 22:50:34 -05:00
parent 9d42114acb
commit 4ffaf9bb32
3 changed files with 4 additions and 2 deletions

View File

@ -22,3 +22,4 @@
1.20: removed all traces of accel b/c I've given up
1.21: added a drawWidgets command to see if I have the padding right
1.22: ok the buzzing *might* work now
1.23: forgot to resolve the promise

View File

@ -100,9 +100,10 @@ function mutex (functionRef) {
lock = true;
return new Promise (() => {
functionRef.then (() => {
functionRef.then ((result) => {
lock = false;
resolve (result);
});
});
}

View File

@ -1,7 +1,7 @@
{ "id": "multidice",
"name": "multiple dice roller",
"shortName":"multidice",
"version":"1.22",
"version":"1.23",
"description": "roll anywhere from 1-8 dice at the same time",
"icon": "app.png",
"tags": "tool,game",