1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:22:56 +08:00

We don't need this to be protected anymore.

This commit is contained in:
smoogipooo 2017-06-16 09:54:16 +09:00
parent 03b2b254ba
commit ff84a11c37

View File

@ -250,7 +250,7 @@ namespace osu.Game.Rulesets.UI
{ {
KeyConversionInputManager.Add(Playfield = CreatePlayfield()); KeyConversionInputManager.Add(Playfield = CreatePlayfield());
LoadObjects(); loadObjects();
if (InputManager?.ReplayInputHandler != null) if (InputManager?.ReplayInputHandler != null)
InputManager.ReplayInputHandler.ToScreenSpace = Playfield.ScaledContent.ToScreenSpace; InputManager.ReplayInputHandler.ToScreenSpace = Playfield.ScaledContent.ToScreenSpace;
@ -259,7 +259,7 @@ namespace osu.Game.Rulesets.UI
/// <summary> /// <summary>
/// Creates and adds drawable representations of hit objects to the play field. /// Creates and adds drawable representations of hit objects to the play field.
/// </summary> /// </summary>
protected virtual void LoadObjects() private void loadObjects()
{ {
drawableObjects.Capacity = Beatmap.HitObjects.Count; drawableObjects.Capacity = Beatmap.HitObjects.Count;