miete 7 tage reset bei verkauf
This commit is contained in:
@@ -402,6 +402,8 @@ namespace ReallifeGamemode.Server.Core.Managers
|
||||
house.OwnerId = null;
|
||||
user.HouseId = null;
|
||||
|
||||
house.LastRentSetTime = DateTime.Now.Subtract(TimeSpan.FromDays(7));
|
||||
|
||||
var backMoney = (int)(house.Price * 0.4);
|
||||
|
||||
player.SendMessage("Du bekommst vom Hausverkauf ~g~" + backMoney.ToMoneyString() + "~s~ zurück.");
|
||||
|
||||
Reference in New Issue
Block a user