Move definition inline

This commit is contained in:
Dean Herbert 2018-05-14 19:14:17 +09:00
parent 115c2dc239
commit 0234bbc37f

View File

@ -149,8 +149,6 @@ namespace osu.Game.Screens.Play
scoreProcessor = RulesetContainer.CreateScoreProcessor(); scoreProcessor = RulesetContainer.CreateScoreProcessor();
Drawable rulesetCursor = RulesetContainer.Cursor?.CreateProxy() ?? new Container();
Children = new Drawable[] Children = new Drawable[]
{ {
pauseContainer = new PauseContainer(offsetClock, adjustableClock) pauseContainer = new PauseContainer(offsetClock, adjustableClock)
@ -190,7 +188,7 @@ namespace osu.Game.Screens.Play
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre Origin = Anchor.Centre
}, },
rulesetCursor, RulesetContainer.Cursor?.CreateProxy() ?? new Container(),
new SkipOverlay(firstObjectTime) new SkipOverlay(firstObjectTime)
{ {
Clock = Clock, // skip button doesn't want to use the audio clock directly Clock = Clock, // skip button doesn't want to use the audio clock directly