mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Removed extraneous comments
This commit is contained in:
parent
210540b669
commit
37e5b49f28
@ -885,11 +885,6 @@ internal void OnUpdateVars(NetworkReader reader, bool initialState)
|
||||
internal void SetLocalPlayer()
|
||||
{
|
||||
isLocalPlayer = true;
|
||||
|
||||
// There is an ordering issue here that originAuthority solves:
|
||||
// OnStartAuthority should only be called if hasAuthority was false when this function began,
|
||||
// or it will be called twice for this object, but that state is lost by the time OnStartAuthority
|
||||
// is called below, so the original value is cached here to be checked below.
|
||||
hasAuthority = true;
|
||||
|
||||
foreach (NetworkBehaviour comp in networkBehavioursCache)
|
||||
|
Loading…
Reference in New Issue
Block a user