Clean up some warnings (#6088)
* Clean up some warnings * Remove nullable enable Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com> Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
This commit is contained in:
@@ -81,10 +81,10 @@ namespace Content.Server.AI.Pathfinding
|
||||
}
|
||||
}
|
||||
|
||||
public bool InBounds(Vector2i Vector2i)
|
||||
public bool InBounds(Vector2i vector)
|
||||
{
|
||||
if (Vector2i.X < _indices.X || Vector2i.Y < _indices.Y) return false;
|
||||
if (Vector2i.X >= _indices.X + ChunkSize || Vector2i.Y >= _indices.Y + ChunkSize) return false;
|
||||
if (vector.X < _indices.X || vector.Y < _indices.Y) return false;
|
||||
if (vector.X >= _indices.X + ChunkSize || vector.Y >= _indices.Y + ChunkSize) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user