mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fixed the mod being not resetting.
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user