bugfix/87-client-dc-on-char-deletion #90

Merged
rainote merged 12 commits from bugfix/87-client-dc-on-char-deletion into master 2023-11-19 14:10:19 +00:00
Showing only changes of commit 47023a3c3f - Show all commits

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);
}