Use expression body syntax
This commit is contained in:
@@ -85,7 +85,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
base.Created(self);
|
||||
}
|
||||
|
||||
bool ITargetablePositions.AlwaysEnabled { get { return Info.RequiresCondition == null; } }
|
||||
bool ITargetablePositions.AlwaysEnabled => Info.RequiresCondition == null;
|
||||
|
||||
IEnumerable<WPos> ITargetablePositions.TargetablePositions(Actor self)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user