diff --git a/osu.Game/GameModes/Menu/MainMenu.cs b/osu.Game/GameModes/Menu/MainMenu.cs index d06e1ac1fb..6cc4c0ac8f 100644 --- a/osu.Game/GameModes/Menu/MainMenu.cs +++ b/osu.Game/GameModes/Menu/MainMenu.cs @@ -12,7 +12,7 @@ namespace osu.Game.GameModes.Menu { public override string Name => @"Main Menu"; - private AudioTrackBass bgm; + //private AudioTrackBass bgm; public override void Load() { diff --git a/osu.Game/Online/API/SecurePassword.cs b/osu.Game/Online/API/SecurePassword.cs index aabcdc2fd3..17ec2d638f 100644 --- a/osu.Game/Online/API/SecurePassword.cs +++ b/osu.Game/Online/API/SecurePassword.cs @@ -2,6 +2,7 @@ //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; +using System.Diagnostics; using System.Security; using osu.Framework.Extensions; @@ -35,6 +36,8 @@ namespace osu.Game.Online.API internal string Get(Representation request = Representation.Raw) { + Debug.Assert(representation == request); + switch (request) { default: diff --git a/osu.Game/Online/Chat/Channel.cs b/osu.Game/Online/Chat/Channel.cs index 7c0b31a18f..96904337cf 100644 --- a/osu.Game/Online/Chat/Channel.cs +++ b/osu.Game/Online/Chat/Channel.cs @@ -22,7 +22,7 @@ namespace osu.Game.Online.Chat public List Messages = new List(); - internal bool Joined; + //internal bool Joined; [JsonConstructor] public Channel() diff --git a/osu.Game/Online/Chat/Message.cs b/osu.Game/Online/Chat/Message.cs index ecf91c481d..1c3db48f4e 100644 --- a/osu.Game/Online/Chat/Message.cs +++ b/osu.Game/Online/Chat/Message.cs @@ -21,10 +21,10 @@ namespace osu.Game.Online.Chat public DateTime Timestamp; [JsonProperty(@"content")] - internal string Content; + public string Content; [JsonProperty(@"sender")] - internal string User; + public string User; [JsonConstructor] public Message()