fix haus jetzt richtig
This commit is contained in:
@@ -193,6 +193,7 @@ namespace ReallifeGamemode.Server.Core.Managers
|
|||||||
.Include(h => h.BankAccount)
|
.Include(h => h.BankAccount)
|
||||||
.Include(h => h.Rentals)
|
.Include(h => h.Rentals)
|
||||||
.ToList()
|
.ToList()
|
||||||
|
.Where(h => h.Position.DistanceTo(position) < 5)
|
||||||
.OrderBy(h => h.Position.DistanceTo(position))
|
.OrderBy(h => h.Position.DistanceTo(position))
|
||||||
.FirstOrDefault();
|
.FirstOrDefault();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user