From ea68bc5a16bd879cc7294b636c5c0129d4c7dd2b Mon Sep 17 00:00:00 2001 From: metalgearsloth Date: Thu, 17 Oct 2024 14:07:11 +1100 Subject: [PATCH] Minor tileref optimisation --- Robust.Shared/Map/TileRef.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robust.Shared/Map/TileRef.cs b/Robust.Shared/Map/TileRef.cs index dcd858a6ab1..92811337328 100644 --- a/Robust.Shared/Map/TileRef.cs +++ b/Robust.Shared/Map/TileRef.cs @@ -13,7 +13,7 @@ namespace Robust.Shared.Map [PublicAPI] public readonly struct TileRef : IEquatable, ISpanFormattable { - public static TileRef Zero => new(EntityUid.Invalid, Vector2i.Zero, Tile.Empty); + public static readonly TileRef Zero = new(EntityUid.Invalid, Vector2i.Zero, Tile.Empty); /// /// Grid Entity this Tile belongs to.