Apply Ruleset to Scores. Reduce complexity of score creation.

This commit is contained in:
Dean Herbert
2017-04-20 11:16:08 +09:00
parent 6cf026e5c1
commit a47870b376
5 changed files with 22 additions and 23 deletions

View File

@ -45,7 +45,7 @@ namespace osu.Game.Database
using (SerializationReader sr = new SerializationReader(s))
{
var ruleset = rulesets.GetRuleset(sr.ReadByte()).CreateInstance();
score = ruleset.CreateScoreProcessor().CreateEmptyScore();
score = new Score();
/* score.Pass = true;*/
var version = sr.ReadInt32();