mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-07-28 21:47:34 -05:00
iidx: fix 20 detection
This commit is contained in:
parent
95e6eade6d
commit
77a0e41b0d
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user