mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Use fresh mods for each difficulty calculation iteration
This commit is contained in:
@ -65,5 +65,10 @@ namespace osu.Game.Rulesets.Mods
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public virtual Type[] IncompatibleMods => new Type[] { };
|
||||
|
||||
/// <summary>
|
||||
/// Creates a copy of this <see cref="Mod"/> initialised to a default state.
|
||||
/// </summary>
|
||||
public virtual Mod CreateCopy() => (Mod)Activator.CreateInstance(GetType());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user