mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-09-22 22:27:56 +03:00
iidx: fix 20 detection
This commit is contained in:
@@ -98,8 +98,12 @@ export function GetVersion(info: EamuseInfo) {
|
|||||||
case "JDZ": return 18;
|
case "JDZ": return 18;
|
||||||
case "KDZ": return 19;
|
case "KDZ": return 19;
|
||||||
case "LDJ":
|
case "LDJ":
|
||||||
version = Number(info.module.slice(4, 6));
|
if (info.module.startsWith("IIDX")) {
|
||||||
if (_.isNaN(version)) version = 20;
|
version = Number(info.module.slice(4, 6));
|
||||||
|
if (_.isNaN(version) || version < 20) version = 20;
|
||||||
|
} else {
|
||||||
|
version = 20;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user