Remove unused variable

This commit is contained in:
Chris Langsenkamp 2020-03-24 17:58:04 -04:00
parent 347cb5374d
commit 85c4f1bcf1

View File

@ -323,8 +323,6 @@ public override void ServerChangeScene(string newSceneName)
// find the game-player object for this connection, and destroy it
NetworkIdentity identity = roomPlayer.GetComponent<NetworkIdentity>();
NetworkIdentity playerController = identity.connectionToClient.identity;
if (NetworkServer.active)
{
// re-add the room object