1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 09:07:25 +08:00

Fix hard crash and fix breaks have been initialized twice

This commit is contained in:
EVAST9919 2017-10-02 09:04:03 +03:00
parent 7052462863
commit b6ed977e1e
2 changed files with 2 additions and 8 deletions

View File

@ -80,12 +80,6 @@ namespace osu.Game.Screens.Play.BreaksOverlay
}; };
} }
protected override void LoadComplete()
{
base.LoadComplete();
initializeBreaks();
}
private void initializeBreaks() private void initializeBreaks()
{ {
FinishTransforms(true); FinishTransforms(true);

View File

@ -192,8 +192,8 @@ namespace osu.Game.Screens.Play
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
Breaks = beatmap.Breaks, Clock = decoupledClock,
Clock = decoupledClock Breaks = beatmap.Breaks
}, },
} }
}, },