1
0
Fork 0

🐛 Fixed typo in pattern sampling code

This commit is contained in:
Joost De Cock 2018-12-07 15:59:57 +01:00
parent 933b1b5a3d
commit aadfd392ae

View file

@ -211,7 +211,7 @@ Pattern.prototype.sampleListOption = function(optionName) {
let option = this.config.options[optionName];
let anchors = {};
let run = 1;
let runs = options.list.length;
let runs = option.list.length;
for (let val of option.list) {
this.options[optionName] = val;
this.debug(