Commit c47548f3 authored by mercury233's avatar mercury233

fix deck stats

parent fb1e18df
......@@ -151,7 +151,12 @@ function read_decks() {
}
}
output_csv(ALL_MAIN_CARDS,"main.csv");
if (ALL_SIDE_CARDS.length) {
var ALL_SIDE_CARDS_isempty = true;
for (var j in ALL_SIDE_CARDS) {
ALL_SIDE_CARDS_isempty = false;
break;
}
if (!ALL_SIDE_CARDS_isempty) {
output_csv(ALL_SIDE_CARDS,"side.csv");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment