diff --git a/OpenRA.Mods.RA/Move/PathFinder.cs b/OpenRA.Mods.RA/Move/PathFinder.cs index 7c4e5524e9..444fdaae57 100644 --- a/OpenRA.Mods.RA/Move/PathFinder.cs +++ b/OpenRA.Mods.RA/Move/PathFinder.cs @@ -284,8 +284,8 @@ namespace OpenRA.Mods.RA.Move public struct PathDistance : IComparable { - public int EstTotal; - public CPos Location; + public readonly int EstTotal; + public readonly CPos Location; public PathDistance(int estTotal, CPos location) {