@rian8337/osu-base 4.0.0-beta.88 → 4.0.0-beta.89

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -2653,7 +2653,11 @@ class ModRateAdjust extends Mod {
2653
2653
  }
2654
2654
  constructor(trackRateMultiplier = 1) {
2655
2655
  super();
2656
- this.trackRateMultiplier = new DecimalModSetting("Track rate multiplier", "rateMultiplier", "The multiplier for the track's playback rate after applying this mod.", trackRateMultiplier, 0.5, 2, 0.05, 2);
2656
+ /**
2657
+ * The multiplier for the track's playback rate after applying this `Mod`.
2658
+ */
2659
+ this.trackRateMultiplier = new DecimalModSetting("Track rate multiplier", "rateMultiplier", "The multiplier for the track's playback rate after applying this mod.", 1, 0.5, 2, 0.05, 2);
2660
+ this.trackRateMultiplier.value = trackRateMultiplier;
2657
2661
  }
2658
2662
  applyToRate(_, rate) {
2659
2663
  return rate * this.trackRateMultiplier.value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rian8337/osu-base",
3
- "version": "4.0.0-beta.88",
3
+ "version": "4.0.0-beta.89",
4
4
  "description": "Base module for all osu! related modules.",
5
5
  "keywords": [
6
6
  "osu",
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "42c9324c999ed6dfe0804fe74131b870a72dd822"
38
+ "gitHead": "70d91858f02b78f847d784609bae069c8e1679c9"
39
39
  }