Changes properties to use automatic property initializers
This commit is contained in:
parent
f0a48ad431
commit
06fa31a7bf
623 changed files with 13072 additions and 19304 deletions
|
|
@ -27,13 +27,7 @@ namespace Server
|
|||
{
|
||||
private int m_LandBlocks, m_StaticBlocks;
|
||||
|
||||
private static bool m_Enabled = true;
|
||||
|
||||
public static bool Enabled
|
||||
{
|
||||
get => m_Enabled;
|
||||
set => m_Enabled = value;
|
||||
}
|
||||
public static bool Enabled { get; set; } = true;
|
||||
|
||||
public int LandBlocks
|
||||
{
|
||||
|
|
@ -55,7 +49,7 @@ namespace Server
|
|||
|
||||
public TileMatrixPatch( TileMatrix matrix, int index )
|
||||
{
|
||||
if ( !m_Enabled )
|
||||
if ( !Enabled )
|
||||
return;
|
||||
|
||||
string mapDataPath = Core.FindDataFile( "mapdif{0}.mul", index );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue