feat: reenable char deletion

This commit is contained in:
Timothy Schenk 2023-11-19 15:08:17 +01:00
parent 6bcf90bc87
commit 47023a3c3f

View file

@ -33,8 +33,8 @@ public class CharacterDeletionHandler : IPacketHandler<CharacterDeletePacket>
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);
}