@tosuapp/osu-native-wrapper 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -568,10 +568,10 @@ function makeScoreInfo(input) {
568
568
  if (input.legacyScore !== void 0) {
569
569
  nullableScore.hasValue = true;
570
570
  nullableScore.value = input.legacyScore;
571
- score.legacyTotalScore = nullableScore;
572
571
  } else {
573
572
  nullableScore.hasValue = false;
574
573
  }
574
+ score.legacyTotalScore = nullableScore;
575
575
  score.maxCombo = input.maxCombo ?? 0;
576
576
  score.accuracy = input.accuracy ?? 0;
577
577
  score.countMiss = input.countMiss ?? 0;
package/dist/index.mjs CHANGED
@@ -519,10 +519,10 @@ function makeScoreInfo(input) {
519
519
  if (input.legacyScore !== void 0) {
520
520
  nullableScore.hasValue = true;
521
521
  nullableScore.value = input.legacyScore;
522
- score.legacyTotalScore = nullableScore;
523
522
  } else {
524
523
  nullableScore.hasValue = false;
525
524
  }
525
+ score.legacyTotalScore = nullableScore;
526
526
  score.maxCombo = input.maxCombo ?? 0;
527
527
  score.accuracy = input.accuracy ?? 0;
528
528
  score.countMiss = input.countMiss ?? 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tosuapp/osu-native-wrapper",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",