Skip to content

Commit

Permalink
Minor tileref optimisation
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth committed Oct 17, 2024
1 parent ba7d145 commit ea68bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Robust.Shared/Map/TileRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Robust.Shared.Map
[PublicAPI]
public readonly struct TileRef : IEquatable<TileRef>, ISpanFormattable
{
public static TileRef Zero => new(EntityUid.Invalid, Vector2i.Zero, Tile.Empty);
public static readonly TileRef Zero = new(EntityUid.Invalid, Vector2i.Zero, Tile.Empty);

/// <summary>
/// Grid Entity this Tile belongs to.
Expand Down

0 comments on commit ea68bc5

Please sign in to comment.