Mark EntityCoordinates.Offset as pure (#5264)

Doesn't do anything just being called and sometimes I forget.
This commit is contained in:
metalgearsloth
2024-06-24 10:53:41 +02:00
committed by GitHub
parent e2cf4ee3db
commit cd6576ddf9
+1
View File
@@ -248,6 +248,7 @@ namespace Robust.Shared.Map
/// </summary>
/// <param name="position">The vector to offset by local to the entity.</param>
/// <returns>Newly offset coordinates.</returns>
[Pure]
public EntityCoordinates Offset(Vector2 position)
{
return new(EntityId, Position + position);