ClientScene.AddPlayer: use proper variable name

This commit is contained in:
vis2k 2019-04-06 12:09:52 +02:00
parent ef14026be4
commit 54a24d7bda

View File

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