mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-03-21 17:34:46 -05:00
IIDX: Fixed score import (DP/WebUI typo)
This commit is contained in:
parent
1f05cef58b
commit
993595ff99
|
|
@ -153,5 +153,6 @@ Changelogs
|
|||
- Added music\_open on gameSystem.systemInfo response
|
||||
- Fixed where lightning settings doesn't get saved on logout
|
||||
- Fixed where Disable Music Preview, Disable HCN Color, VEFX Lock settings doesn't reflect
|
||||
- Fixed where MISS COUNT has 0 as default
|
||||
- Fixed where MISS COUNT has 0 as default (including score import)
|
||||
- Fixed where unable to import DP scores
|
||||
- WebUI is now display values of corresponding version
|
||||
|
|
|
|||
|
|
@ -307,7 +307,7 @@ export const importScoreData = async (data, send: WebUISend) => {
|
|||
let result = {
|
||||
pgArray: Array<number>(10).fill(0),
|
||||
gArray: Array<number>(10).fill(0),
|
||||
mArray: Array<number>(10).fill(0),
|
||||
mArray: Array<number>(10).fill(-1),
|
||||
cArray: Array<number>(10).fill(0),
|
||||
rArray: Array<number>(10).fill(-1),
|
||||
esArray: Array<number>(10).fill(0),
|
||||
|
|
@ -326,9 +326,9 @@ export const importScoreData = async (data, send: WebUISend) => {
|
|||
|
||||
if (!_.isNil(sd_ver1[a].dpmArray)) {
|
||||
for (let b = 5; b < 10; b++) {
|
||||
result.cArray[b] = sd_ver1[a].dpmArray[2 + b];
|
||||
result.esArray[b] = sd_ver1[a].dpmArray[7 + b];
|
||||
if (sd_ver1[a].dpmArray[12 + b] != -1) result.mArray[b] = sd_ver1[a].dpmArray[12 + b];
|
||||
result.cArray[b] = sd_ver1[a].dpmArray[2 + (b - 5)];
|
||||
result.esArray[b] = sd_ver1[a].dpmArray[7 + (b - 5)];
|
||||
if (sd_ver1[a].dpmArray[12 + (b - 5)] != -1) result.mArray[b] = sd_ver1[a].dpmArray[12 + (b - 5)];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ div
|
|||
| Data Management
|
||||
.card-content
|
||||
.field
|
||||
label.label [!] This will overwrite exsiting scores
|
||||
label.label [!] This will overwrite existing scores
|
||||
form(method="post" action="/emit/iidxImportScoreData")
|
||||
.field
|
||||
input(type="text" name="refid", value=refid readonly hidden)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user