mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Compare Health with small value
This commit is contained in:
@ -99,7 +99,7 @@ namespace osu.Game.Rulesets.Scoring
|
||||
/// <summary>
|
||||
/// The default conditions for failing.
|
||||
/// </summary>
|
||||
protected virtual bool DefaultFailCondition => Health.Value == Health.MinValue;
|
||||
protected virtual bool DefaultFailCondition => Health.Value < Health.MinValue + 1e-15;
|
||||
|
||||
protected ScoreProcessor()
|
||||
{
|
||||
|
Reference in New Issue
Block a user