mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkServer.InternalUpdate doesn't need connectionId to int casts anymore
This commit is contained in:
parent
f8bfb2093d
commit
d056bc4c1e
@ -373,15 +373,15 @@ static internal void InternalUpdate()
|
||||
{
|
||||
case Telepathy.EventType.Connected:
|
||||
//Debug.Log("NetworkServer loop: Connected");
|
||||
HandleConnect((int)message.connectionId, 0);
|
||||
HandleConnect(message.connectionId, 0);
|
||||
break;
|
||||
case Telepathy.EventType.Data:
|
||||
//Debug.Log("NetworkServer loop: clientId: " + message.connectionId + " Data: " + BitConverter.ToString(message.data));
|
||||
HandleData((int)message.connectionId, message.data, 0);
|
||||
HandleData(message.connectionId, message.data, 0);
|
||||
break;
|
||||
case Telepathy.EventType.Disconnected:
|
||||
//Debug.Log("NetworkServer loop: Disconnected");
|
||||
HandleDisconnect((int)message.connectionId, 0);
|
||||
HandleDisconnect(message.connectionId, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user