mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
Mark EntityCoordinates.Offset as pure (#5264)
Doesn't do anything just being called and sometimes I forget.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user