Merge branch 'develop' of ssh://development.life-of-german.org:451/log-gtav/reallife-gamemode into develop

This commit is contained in:
Mac_Slash
2020-05-04 17:04:20 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -27,7 +27,7 @@ namespace ReallifeGamemode.Server.Managers
/// <param name="pos">Die Position der Garage</param>
public static void AddTuningGarage(Vector3 pos)
{
NAPI.Blip.CreateBlip(446, pos, 1f, 4, "Los Santos Customs", shortRange: true);
NAPI.Blip.CreateBlip(446, pos, 0.7f, 4, "Los Santos Customs", shortRange: true);
ColShape colShape = NAPI.ColShape.CreateSphereColShape(pos, 5, 0);