Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -7,7 +7,7 @@ namespace Server.Misc
/// </summary>
public class WelcomeTimer : Timer
{
private static string[] m_Messages = TestCenter.Enabled
private static readonly string[] m_Messages = TestCenter.Enabled
? new[]
{
"Welcome to this test shard. You are able to customize your character's stats and skills at anytime to anything you wish. To see the commands to do this just say 'help'.",
@ -23,13 +23,14 @@ namespace Server.Misc
}
: new[]
{
//Yes, this message is a pathetic message, It's suggested that you change it.
// Yes, this message is a pathetic message, It's suggested that you change it.
"Welcome to this shard.",
"Please enjoy your stay."
};
private Mobile m_Mobile;
private int m_State, m_Count;
private readonly Mobile m_Mobile;
private int m_State;
private readonly int m_Count;
public WelcomeTimer(Mobile m) : this(m, m_Messages.Length)
{