MB 5 years ago
parent
commit
558935d8e3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Assets/Scipts/Multiplayer/Server/PlayerServerManager.cs

+ 1
- 0
Assets/Scipts/Multiplayer/Server/PlayerServerManager.cs View File

@ -20,6 +20,7 @@ namespace Multiplayer
private void RegisterHandlers() private void RegisterHandlers()
{ {
ServerManager.Server.RegisterHandler(PlayerMsgID.Position, RecievePosition); ServerManager.Server.RegisterHandler(PlayerMsgID.Position, RecievePosition);
ServerManager.Server.RegisterHandler(PlayerMsgID.QueryPosition, QueryPosition);
} }
private void RecievePosition(NetworkMessage msg) private void RecievePosition(NetworkMessage msg)

Loading…
Cancel
Save