You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right. Glad you spotted the parseFinalResults argument issue. Looking at the parseFinalResults method it shows
parseFinalResults(rollResults=[]){// do the final parseconstrolls=this.recursiveSearch(rollResults,'rolls')...
So the first thing the method does is look for all the rolls objects because it's expecting the rollResults array object from the onRollComplete callback method. Instead, it's getting an array of individual rolls. I'll update the FDP module to first check for the rolls object and if it's not found then assume it's an array of individual rolls, wrapping the individual rolls evaluation in a try/catch block in case it's not actually individual rolls coming through the array.
I'm trying to roll two dice and get back the lowest result as a success. When I run the function below I get the error.
No result was passed to the dice-roller-parser. Using fallback Math.random
The text was updated successfully, but these errors were encountered: