fix house

This commit is contained in:
hydrant
2019-07-16 20:42:05 +02:00
parent 976c285662
commit 3082b0bab2
10 changed files with 2606 additions and 19 deletions

View File

@@ -14,7 +14,7 @@ namespace ReallifeGamemode.Server.Extensions
{
using(var dbContext = new DatabaseContext())
{
return dbContext.Houses.Where(h => h.Id == house.Id).Include(h => h.User).FirstOrDefault();
return dbContext.Houses.Where(h => h.Id == house.Id).Include(h => h.Owner).FirstOrDefault();
}
}
}