diff --git a/ReallifeGamemode.Server.Core/Managers/HouseManager.cs b/ReallifeGamemode.Server.Core/Managers/HouseManager.cs index 182e16fb..7c154b37 100644 --- a/ReallifeGamemode.Server.Core/Managers/HouseManager.cs +++ b/ReallifeGamemode.Server.Core/Managers/HouseManager.cs @@ -188,7 +188,7 @@ namespace ReallifeGamemode.Server.Core.Managers public House GetNearHouse(Position position, DatabaseContext dbContext) { - return dbContext.Houses.Where(h => h.Position.DistanceTo(position) <= 5f) + return dbContext.Houses .Include(h => h.Owner) .Include(h => h.BankAccount) .Include(h => h.Rentals)