mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Cache the dependencies using the static method of the class Dependencies.
This commit is contained in:
parent
e201f9fd72
commit
1f04dd9ada
@ -54,9 +54,9 @@ namespace osu.Game.Tests.Visual
|
||||
var chatManager = new ChannelManager();
|
||||
chatManager.AvailableChannels.Add(new Channel { Name = "#english"});
|
||||
chatManager.AvailableChannels.Add(new Channel { Name = "#japanese" });
|
||||
dependencies.Cache(chatManager);
|
||||
Dependencies.Cache(chatManager);
|
||||
|
||||
dependencies.Cache(new ChatOverlay());
|
||||
Dependencies.Cache(new ChatOverlay());
|
||||
|
||||
testLinksGeneral();
|
||||
testEcho();
|
||||
|
Loading…
Reference in New Issue
Block a user