Make LegacyID nullable

The -1 default was getting stored to the database.
This commit is contained in:
Dean Herbert
2018-03-06 17:29:58 +09:00
parent a6460832f4
commit e82cadc811
5 changed files with 5 additions and 5 deletions

View File

@ -101,7 +101,7 @@ namespace osu.Game.Rulesets.Catch
public override DifficultyCalculator CreateDifficultyCalculator(Beatmap beatmap, Mod[] mods = null) => new CatchDifficultyCalculator(beatmap);
public override int LegacyID => 2;
public override int? LegacyID => 2;
public override IConvertibleReplayFrame CreateConvertibleReplayFrame() => new CatchReplayFrame();