1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 04:53:12 +08:00

Fix AppVeyor Errors

This commit is contained in:
iiSaLMaN 2019-04-22 09:58:29 +03:00 committed by GitHub
parent c784bc4418
commit 7a385e56ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,15 +95,20 @@ namespace osu.Game.Rulesets.Scoring
/// </summary> /// </summary>
protected virtual bool DefaultFailCondition => Health.Value == Health.MinValue; protected virtual bool DefaultFailCondition => Health.Value == Health.MinValue;
private bool adjustRank = false; private bool adjustRank;
/// <summary> /// <summary>
/// Used by specific mods to adjust <see cref="Rank"/>. /// Used by specific mods to adjust <see cref="Rank"/>.
/// </summary> /// </summary>
public bool AdjustRank public bool AdjustRank
{ {
get { return adjustRank; } get => return adjustRank;
set { adjustRank = value; Rank.Value = rankFrom(Accuracy.Value); } // Update rank immediately if AdjustRank was changed
set
{
adjustRank = value;
Rank.Value = rankFrom(Accuracy.Value); // Update rank immediately if AdjustRank was changed
}
} }
protected ScoreProcessor() protected ScoreProcessor()