mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Remove unused variable
This commit is contained in:
parent
347cb5374d
commit
85c4f1bcf1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user