Fixes implicit array initializers

This commit is contained in:
Kamron Batman 2018-09-14 13:14:20 -07:00
parent 7d3a0ca265
commit fee83ce560
189 changed files with 440 additions and 808 deletions

View file

@ -27,8 +27,7 @@ namespace Server.Engines.Help
public class PageEntry
{
// What page types should have a speech log as attachment?
public static readonly PageType[] SpeechLogAttachment = new[]
{
public static readonly PageType[] SpeechLogAttachment = {
PageType.VerbalHarassment
};

View file

@ -469,8 +469,7 @@ namespace Server.Engines.Help
private PageEntry m_Entry;
private Mobile m_Mobile;
private static int[] m_AccessLevelHues = new[]
{
private static int[] m_AccessLevelHues = {
2100,
2122,
2117,

View file

@ -22,8 +22,7 @@ namespace Server.Menus.Questions
public class StuckMenu : Gump
{
private static StuckMenuEntry[] m_Entries = new[]
{
private static StuckMenuEntry[] m_Entries = {
// Britain
new StuckMenuEntry( 1011028, new[]
{
@ -85,8 +84,7 @@ namespace Server.Menus.Questions
} )
};
private static StuckMenuEntry[] m_T2AEntries = new[]
{
private static StuckMenuEntry[] m_T2AEntries = {
// Papua
new StuckMenuEntry( 1011057, new[]
{