1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 14:12:55 +08:00

Fixed the mod being not resetting.

This commit is contained in:
RORIdev 2019-04-03 19:32:29 -03:00
parent 5aa284781e
commit 28bf3156ba

View File

@ -11,7 +11,7 @@ namespace osu.Game.Rulesets.Mods
{
public abstract class ModEasy : Mod, IApplicableToDifficulty, IApplicableToScoreProcessor
{
public int Lives = 2;
public static int Lives = 2;
public override string Name => "Easy";
public override string Acronym => "EZ";
public override IconUsage Icon => OsuIcon.ModEasy;
@ -40,6 +40,10 @@ namespace osu.Game.Rulesets.Mods
Lives--;
scoreProcessor.Health.Value = 100;
}
else
{
Lives = 2;
}
}
};
}