Fixed bugs and added tests

This commit is contained in:
FreezyLemon
2018-01-09 16:11:45 +01:00
parent 72624aea18
commit 3bf9901dd2
6 changed files with 96 additions and 98 deletions

View File

@ -119,7 +119,12 @@ namespace osu.Game
private ScheduledDelegate scoreLoad;
// TODO: Implement this properly as soon as the Editor is done
#region chat link actions
internal void OpenChannel(string channelName) => chat.OpenChannel(chat.AvailableChannels.Find(c => c.Name == channelName));
internal void ShowBeatmapSet(int setId) => beatmapSetOverlay.ShowBeatmapSet(setId);
internal void LoadEditorTimestamp()
{
notifications.Post(new SimpleNotification
@ -147,6 +152,8 @@ namespace osu.Game
});
}
#endregion
protected void LoadScore(Score s)
{
scoreLoad?.Cancel();