diff --git a/MLEM/Pathfinding/AStar.cs b/MLEM/Pathfinding/AStar.cs
index 84b53a4..74e465d 100644
--- a/MLEM/Pathfinding/AStar.cs
+++ b/MLEM/Pathfinding/AStar.cs
@@ -15,7 +15,7 @@ namespace MLEM.Pathfinding {
///
/// A value that represents an infinite path cost, or a cost for a location that cannot possibly be reached.
///
- public static readonly float InfiniteCost = float.PositiveInfinity;
+ public const float InfiniteCost = float.PositiveInfinity;
///
/// The array of all directions that will be checked for path finding.
/// Note that this array is only used if is true.