Fixed fields missing the readonly modifier

This commit is contained in:
penev92
2022-01-20 00:43:58 +02:00
committed by Paul Chote
parent f83e27d647
commit bf332b6619
96 changed files with 173 additions and 169 deletions

View File

@@ -18,8 +18,8 @@ namespace OpenRA.Mods.Common.Effects
{
public class ContrailFader : IEffect
{
WPos pos;
ContrailRenderable trail;
readonly WPos pos;
readonly ContrailRenderable trail;
int ticks;
public ContrailFader(WPos pos, ContrailRenderable trail)

View File

@@ -24,7 +24,7 @@ namespace OpenRA.Mods.Common.Effects
readonly SpriteFont font;
readonly string text;
Color color;
readonly Color color;
int remaining;
WPos pos;

View File

@@ -24,7 +24,7 @@ namespace OpenRA.Mods.Common.Effects
readonly Animation flag;
readonly Animation circles;
List<WPos> targetLineNodes = new List<WPos> { };
readonly List<WPos> targetLineNodes = new List<WPos> { };
List<CPos> cachedLocations;
public RallyPointIndicator(Actor building, RallyPoint rp)