From 47023a3c3f646d479a8600f1b665ae1eeccb4403 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Sun, 19 Nov 2023 15:08:17 +0100 Subject: [PATCH] feat: reenable char deletion --- Server/PacketHandlers/CharacterDeletionHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/PacketHandlers/CharacterDeletionHandler.cs b/Server/PacketHandlers/CharacterDeletionHandler.cs index 3d1afaa..3807d46 100644 --- a/Server/PacketHandlers/CharacterDeletionHandler.cs +++ b/Server/PacketHandlers/CharacterDeletionHandler.cs @@ -33,8 +33,8 @@ public class CharacterDeletionHandler : IPacketHandler return; } - //_wonderkingContext.Characters.Remove(character); - //await _wonderkingContext.SaveChangesAsync().ConfigureAwait(false); + _wonderkingContext.Characters.Remove(character); + await _wonderkingContext.SaveChangesAsync().ConfigureAwait(false); await authSession.SendAsync(response).ConfigureAwait(false); }