Use expression body syntax
This commit is contained in:
@@ -43,7 +43,7 @@ namespace OpenRA.Mods.Common.Warheads
|
||||
[Desc("Delay in ticks before applying the warhead effect.", "0 = instant (old model).")]
|
||||
public readonly int Delay = 0;
|
||||
|
||||
int IWarhead.Delay { get { return Delay; } }
|
||||
int IWarhead.Delay => Delay;
|
||||
|
||||
[Desc("The color used for this warhead's visualization in the world's `WarheadDebugOverlay` trait.")]
|
||||
public readonly Color DebugOverlayColor = Color.Red;
|
||||
|
||||
Reference in New Issue
Block a user