diff --git a/Shared/Player.cs b/Shared/Player.cs index 6a045cd..3484fe0 100644 --- a/Shared/Player.cs +++ b/Shared/Player.cs @@ -36,9 +36,9 @@ namespace SemiColinGames { private float invincibilityTime = 0; // For passing into Line.Rasterize() during movement updates. - private List movePoints = new List(100); + private readonly List movePoints = new List(100); // Possible hitboxes for player <-> obstacles. - private List candidates = new List(10); + private readonly List candidates = new List(10); public Player(Vector2 position, int facing) { this.position = position;