From 85c4f1bcf16478112bdbfa36c7359265dfd99dc1 Mon Sep 17 00:00:00 2001 From: Chris Langsenkamp Date: Tue, 24 Mar 2020 17:58:04 -0400 Subject: [PATCH] Remove unused variable --- Assets/Mirror/Components/NetworkRoomManager.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Assets/Mirror/Components/NetworkRoomManager.cs b/Assets/Mirror/Components/NetworkRoomManager.cs index a0284b654..a84a29633 100644 --- a/Assets/Mirror/Components/NetworkRoomManager.cs +++ b/Assets/Mirror/Components/NetworkRoomManager.cs @@ -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 playerController = identity.connectionToClient.identity; - if (NetworkServer.active) { // re-add the room object