Use expression body syntax
This commit is contained in:
@@ -47,7 +47,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
protected readonly CellLayer<ResourceLayerContents> Content;
|
||||
|
||||
public bool IsResourceLayerEmpty { get { return resCells < 1; } }
|
||||
public bool IsResourceLayerEmpty => resCells < 1;
|
||||
|
||||
int resCells;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user