minor corrections for DDF syntax change

This commit is contained in:
bluesaxman 2020-09-04 10:33:04 -06:00
parent 6758972a84
commit 2572c95028

View File

@ -30,10 +30,10 @@ function generateDeck(DDF) {
DDF.sort(function (a,b) { DDF.sort(function (a,b) {
return a.dataIndex - b.dataIndex; return a.dataIndex - b.dataIndex;
}); });
DDF.forEach( function (data) { DDF.forEach( function (dataBlock) {
var tempcards = []; var tempcards = [];
cards.forEach( function (current) { cards.forEach( function (current) {
DDF.data.forEach( function (value) { dataBlock.data.forEach( function (value) {
tempcards.push(current+value); tempcards.push(current+value);
} ); } );
} ); } );