From 07e510cb60c5b1a60cc84b552cf59e14d3f0185d Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sat, 26 Mar 2022 01:46:19 +0000 Subject: [PATCH] Save gaugeHistory for lr2hook. --- server/CHANGELOG.md | 5 +++++ .../lib/score-import/import-types/ir/lr2hook/converter.ts | 1 + 2 files changed, 6 insertions(+) diff --git a/server/CHANGELOG.md b/server/CHANGELOG.md index 85919261a..1abe4e276 100644 --- a/server/CHANGELOG.md +++ b/server/CHANGELOG.md @@ -17,6 +17,11 @@ not generally be shown to end users. # CURRENT +- [ENH] The LR2Hook now saves courses. +- [ENH] The LR2Hook now saves gauge information. + +***** + - [BUG] Having less than 20 valid scores for BPI is no longer advantageous due to regression to 0 profile BPI. - [BUG] Timelines now prefer scores with timestamps if present, instead of preferring scores with null timestamps. diff --git a/server/src/lib/score-import/import-types/ir/lr2hook/converter.ts b/server/src/lib/score-import/import-types/ir/lr2hook/converter.ts index 125f344f8..5d3a65fea 100644 --- a/server/src/lib/score-import/import-types/ir/lr2hook/converter.ts +++ b/server/src/lib/score-import/import-types/ir/lr2hook/converter.ts @@ -58,6 +58,7 @@ export const ConverterLR2Hook: ConverterFunction = bp: data.scoreData.bad + data.scoreData.poor, maxCombo: data.scoreData.maxCombo, gauge: data.scoreData.hpGraph[999] ?? 0, + gaugeHistory: data.scoreData.hpGraph, }, }, scoreMeta: {