fix house
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user