mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
ClientScene.AddPlayer: use proper variable name
This commit is contained in:
parent
ef14026be4
commit
54a24d7bda
@ -87,11 +87,11 @@ public static bool AddPlayer(NetworkConnection readyConn, byte[] extraData)
|
||||
|
||||
if (LogFilter.Debug) Debug.Log("ClientScene.AddPlayer() called with connection [" + readyConnection + "]");
|
||||
|
||||
AddPlayerMessage msg = new AddPlayerMessage()
|
||||
AddPlayerMessage message = new AddPlayerMessage()
|
||||
{
|
||||
value = extraData
|
||||
};
|
||||
readyConnection.Send(msg);
|
||||
readyConnection.Send(message);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user