Drop/Rendering: Move stack sorting from rendering to drop

This commit is contained in:
2022-08-28 21:40:52 +02:00
parent 6c781785c3
commit cf7c2769e3
2 changed files with 1 additions and 3 deletions

View File

@@ -7,7 +7,6 @@ const { Character } = require('../models');
module.exports = {
name: "Rendering",
renderCardStack: async function(cards) {
cards.sort((a, b) => a.charcterId - b.charcterId);
for (let card of cards) {
console.log(`Iterating card ${card.id}`);