1
0
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:
miterosan 2018-06-17 15:08:13 +02:00
parent e201f9fd72
commit 1f04dd9ada

View File

@ -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();