From ff7e4066080f20680f07db57b8cc1491761c07f8 Mon Sep 17 00:00:00 2001 From: Yana Date: Tue, 5 May 2020 14:21:18 +0700 Subject: [PATCH] Ignore empty ma2 note designer --- src/exporter/simai/MaidataWriter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exporter/simai/MaidataWriter.ts b/src/exporter/simai/MaidataWriter.ts index b7a31be..35639ac 100644 --- a/src/exporter/simai/MaidataWriter.ts +++ b/src/exporter/simai/MaidataWriter.ts @@ -67,7 +67,7 @@ export default class MaidataWriter { let hasDesigner = false; for (const difficulty of Array.from(designers.keys())) { const designer = designers.get(difficulty); - if (designer) { + if (designer && designer !== '-') { rows.push(this.createEntry(`des_${difficulty}`, designer)); hasDesigner = true; }