mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Added centralised handling for some chat links
This commit is contained in:
@ -41,6 +41,8 @@ namespace osu.Game.Overlays
|
||||
|
||||
private readonly FocusedTextBox textbox;
|
||||
|
||||
public OsuGame Game;
|
||||
|
||||
private APIAccess api;
|
||||
|
||||
private const int transition_length = 500;
|
||||
@ -271,8 +273,9 @@ namespace osu.Game.Overlays
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(APIAccess api, OsuConfigManager config, OsuColour colours)
|
||||
private void load(APIAccess api, OsuConfigManager config, OsuColour colours, OsuGame game)
|
||||
{
|
||||
Game = game;
|
||||
this.api = api;
|
||||
api.Register(this);
|
||||
|
||||
|
Reference in New Issue
Block a user