Fix and enable SA1133, SA1134 style rules.

This commit is contained in:
Paul Chote
2019-05-23 18:43:21 +00:00
committed by abcdefg30
parent fbf9461890
commit 78a70be0d4
214 changed files with 1012 additions and 432 deletions

View File

@@ -52,7 +52,8 @@ namespace OpenRA.Mods.Cnc.Traits
[Desc("Flash the screen on teleporting.")]
public readonly bool FlashScreen = false;
[VoiceReference] public readonly string Voice = "Action";
[VoiceReference]
public readonly string Voice = "Action";
public object Create(ActorInitializer init) { return new PortableChrono(init.Self, this); }
}
@@ -61,7 +62,8 @@ namespace OpenRA.Mods.Cnc.Traits
{
public readonly PortableChronoInfo Info;
readonly IMove move;
[Sync] int chargeTick = 0;
[Sync]
int chargeTick = 0;
public PortableChrono(Actor self, PortableChronoInfo info)
{