1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:13:34 +08:00

Remove default DrainRate value

This commit is contained in:
Dan Balasescu 2023-11-21 19:18:02 +09:00
parent fd3508254b
commit 8302ebcf1a
No known key found for this signature in database

View File

@ -44,7 +44,7 @@ namespace osu.Game.Rulesets.Scoring
/// <summary>
/// The drain rate as a proportion of the total health drained per millisecond.
/// </summary>
public double DrainRate { get; private set; } = 1;
public double DrainRate { get; private set; }
/// <summary>
/// The beatmap.
@ -139,8 +139,6 @@ namespace osu.Game.Rulesets.Scoring
{
base.Reset(storeResults);
DrainRate = 1;
if (storeResults)
DrainRate = ComputeDrainRate();