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:
parent
5aa284781e
commit
28bf3156ba
@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user