fix: incorrect space insertion on games with 1 playtype

This commit is contained in:
zkldi
2022-11-21 19:51:50 +00:00
parent acef4c6345
commit 114da4f098
+5 -1
View File
@@ -141,7 +141,11 @@ export function FormatChart(
// iidx formats things like SPA instead of SP A.
// this is a hack, this should be part of the gptConfig, tbh.
const space = !short || game !== "iidx" ? " " : "";
let space = "";
if (game !== "iidx" && gameConfig.validPlaytypes.length > 1 && !short) {
space = " ";
}
// return the most recent version this chart appeared in if it
// is not primary.