final changes

This commit is contained in:
aviate
2019-09-08 22:26:19 +02:00
parent 5d3fe86191
commit e7ff804f1c
2 changed files with 2 additions and 2 deletions

View File

@@ -2601,7 +2601,7 @@ namespace ReallifeGamemode.Server.Commands
foreach (HouseRental rental in dbContext.HouseRentals.Include(r => r.User).Where(r => r.HouseId == nearHouse.Id)) foreach (HouseRental rental in dbContext.HouseRentals.Include(r => r.User).Where(r => r.HouseId == nearHouse.Id))
{ {
rental.User.Client?.SendChatMessage("!{#81F7BE}* Dein Mietvertrag wurde administrativ aufgelöst"); rental.User.Client?.SendChatMessage("!{#81F7BE}* Dein Mietvertrag wurde administrativ aufgelöst!");
dbContext.HouseRentals.Remove(rental); dbContext.HouseRentals.Remove(rental);
} }

View File

@@ -396,7 +396,7 @@ namespace ReallifeGamemode.Server.Managers
dbContext.SaveChanges(); dbContext.SaveChanges();
player.SendChatMessage("Du hast dein Haus verkauft"); player.SendChatMessage("!{#81F7BE}* Du hast dein Haus verkauft.");
RemoveHouse(house); RemoveHouse(house);
LoadHouse(house); LoadHouse(house);