mirror of https://github.com/ppy/osu
Compare Health with small value
This commit is contained in:
parent
50c4e788af
commit
1a6c8e91a5
|
@ -99,7 +99,7 @@ public abstract class ScoreProcessor
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The default conditions for failing.
|
/// The default conditions for failing.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected virtual bool DefaultFailCondition => Health.Value == Health.MinValue;
|
protected virtual bool DefaultFailCondition => Health.Value < Health.MinValue + 1e-15;
|
||||||
|
|
||||||
protected ScoreProcessor()
|
protected ScoreProcessor()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue