mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
add TODO
This commit is contained in:
parent
0291d0a402
commit
25e9904fa8
@ -1070,6 +1070,7 @@ public void RemoveClientAuthority()
|
||||
|
||||
NetworkConnectionToClient previousOwner = connectionToClient;
|
||||
|
||||
// TODO why do we clear this twice?
|
||||
connectionToClient = null;
|
||||
|
||||
// we need to resynchronize the entire object
|
||||
@ -1078,6 +1079,7 @@ public void RemoveClientAuthority()
|
||||
// reset all variables and remove authority
|
||||
NetworkServer.SendSpawnMessage(this, previousOwner);
|
||||
|
||||
// TODO why do we clear this twice?
|
||||
connectionToClient = null;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user