diff --git a/ReallifeGamemode.Client/Interaction/interactionmenu.ts b/ReallifeGamemode.Client/Interaction/interactionmenu.ts index 9cd591d6..eaa5fd12 100644 --- a/ReallifeGamemode.Client/Interaction/interactionmenu.ts +++ b/ReallifeGamemode.Client/Interaction/interactionmenu.ts @@ -168,7 +168,6 @@ export default function (globalData: IGlobalData) { }); menu.MenuClose.on(() => { - mp.gui.chat.activate(true); globalData.InMenu = false; }) }); diff --git a/ReallifeGamemode.Server/Managers/InteractionManager.cs b/ReallifeGamemode.Server/Managers/InteractionManager.cs index dc1253c9..7ef938e0 100644 --- a/ReallifeGamemode.Server/Managers/InteractionManager.cs +++ b/ReallifeGamemode.Server/Managers/InteractionManager.cs @@ -627,7 +627,6 @@ namespace ReallifeGamemode.Server.Managers { player.SendNotification($"~w~Du hast ~y~{targetname} ~w~ ${amount} gegeben."); target.SendNotification($"~w~ Du hast von ~y~{playername} ~w~ ${amount} erhalten.", true); - target.SetData("pay_amount", amount); using (var dbContext = new DatabaseContext()) { @@ -635,8 +634,6 @@ namespace ReallifeGamemode.Server.Managers player.GetUser(dbContext).Handmoney -= amount; dbContext.SaveChanges(); } - target.ResetData("pay_amount"); - target.ResetData("pay_player"); } else {