mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Remove all non-load Game access.
This commit is contained in:
@ -16,6 +16,7 @@ using osu.Game.Graphics.Containers;
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics;
|
||||
using OpenTK.Input;
|
||||
using osu.Framework;
|
||||
|
||||
namespace osu.Game.GameModes.Menu
|
||||
{
|
||||
@ -63,9 +64,9 @@ namespace osu.Game.GameModes.Menu
|
||||
RelativeSizeAxes = Axes.Both;
|
||||
}
|
||||
|
||||
public override void Load()
|
||||
public override void Load(BaseGame game)
|
||||
{
|
||||
base.Load();
|
||||
base.Load(game);
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
@ -346,9 +347,9 @@ namespace osu.Game.GameModes.Menu
|
||||
this.text = text;
|
||||
}
|
||||
|
||||
public override void Load()
|
||||
public override void Load(BaseGame game)
|
||||
{
|
||||
base.Load();
|
||||
base.Load(game);
|
||||
Alpha = 0;
|
||||
|
||||
Children = new Drawable[]
|
||||
|
Reference in New Issue
Block a user