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:
parent
7052462863
commit
b6ed977e1e
@ -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);
|
||||||
|
@ -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
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user