From 429a1e5c2c542ae9671f4d070242b5375ed095a3 Mon Sep 17 00:00:00 2001 From: Elitesparkle Date: Thu, 1 Aug 2024 17:18:39 +0200 Subject: [PATCH] Add draft turns (bans and picks) --- js/exporters/hero-csv.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/exporters/hero-csv.js b/js/exporters/hero-csv.js index 67eddce..cc2cff1 100644 --- a/js/exporters/hero-csv.js +++ b/js/exporters/hero-csv.js @@ -8,6 +8,7 @@ function heroDataCSV(docs) { // identifiers outData += 'ToonHandle'; outData += ',name'; + outData += ',turn'; outData += ',hero'; outData += ',date'; outData += ',win'; @@ -41,6 +42,7 @@ function heroDataCSV(docs) { // identifiers row += doc.ToonHandle; row += ',' + doc.name; + row += ',' + doc.turn; row += ',' + doc.hero; row += ',' + doc.date; row += ',' + (doc.win ? 'true' : 'false');