Use expression body syntax
This commit is contained in:
@@ -67,6 +67,6 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
}
|
||||
|
||||
[Desc("Whether the actor can move (false if immobilized).")]
|
||||
public bool IsMobile { get { return !mobile.IsTraitDisabled && !mobile.IsTraitPaused; } }
|
||||
public bool IsMobile => !mobile.IsTraitDisabled && !mobile.IsTraitPaused;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user