mirror of
https://forge.murkfall.net/bluesaxman/deckard.git
synced 2026-03-13 02:34:20 -06:00
removed explicit indexing, since changing to an array of objects fixed the ordering problem already
This commit is contained in:
@@ -27,9 +27,6 @@ function updateEvent() {
|
||||
|
||||
function generateDeck(DDF) {
|
||||
var cards = [""];
|
||||
DDF.sort(function (a,b) {
|
||||
return a.dataIndex - b.dataIndex;
|
||||
});
|
||||
DDF.forEach( function (dataBlock) {
|
||||
var tempcards = [];
|
||||
cards.forEach( function (current) {
|
||||
|
||||
Reference in New Issue
Block a user