Fix cases of net messages not being registered before being sent.

This commit is contained in:
Pieter-Jan Briers
2020-07-06 22:53:42 +02:00
parent 90982d8943
commit cee8aaa84c
2 changed files with 2 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ namespace Content.Client
{
_netManager.RegisterNetMessage<MsgPreferencesAndSettings>(nameof(MsgPreferencesAndSettings),
HandlePreferencesAndSettings);
_netManager.RegisterNetMessage<MsgUpdateCharacter>(nameof(MsgUpdateCharacter));
}
public void SelectCharacter(ICharacterProfile profile)