Merge branch 'asphyxia-core:main' into fix-gitadora-gw-playstyle-length

This commit is contained in:
Tsung-Hsiang Chang 2026-07-07 20:30:25 -07:00 committed by GitHub
commit 6021f7d92e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,8 +98,12 @@ export function GetVersion(info: EamuseInfo) {
case "JDZ": return 18;
case "KDZ": return 19;
case "LDJ":
version = Number(info.module.slice(4, 6));
if (_.isNaN(version)) version = 20;
if (info.module.startsWith("IIDX")) {
version = Number(info.module.slice(4, 6));
if (_.isNaN(version) || version < 20) version = 20;
} else {
version = 20;
}
break;
}