mirror of
https://github.com/ppy/osu.git
synced 2025-02-26 09:33:13 +08:00
Remove default DrainRate value
This commit is contained in:
parent
fd3508254b
commit
8302ebcf1a
@ -44,7 +44,7 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The drain rate as a proportion of the total health drained per millisecond.
|
/// The drain rate as a proportion of the total health drained per millisecond.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public double DrainRate { get; private set; } = 1;
|
public double DrainRate { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The beatmap.
|
/// The beatmap.
|
||||||
@ -139,8 +139,6 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
{
|
{
|
||||||
base.Reset(storeResults);
|
base.Reset(storeResults);
|
||||||
|
|
||||||
DrainRate = 1;
|
|
||||||
|
|
||||||
if (storeResults)
|
if (storeResults)
|
||||||
DrainRate = ComputeDrainRate();
|
DrainRate = ComputeDrainRate();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user