mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Remove Authority Set (#1178)
This commit is contained in:
parent
1ec8910575
commit
51653ed811
@ -855,9 +855,6 @@ static bool SetupLocalPlayerForConnection(NetworkConnection conn, NetworkIdentit
|
|||||||
NetworkClient.AddLocalPlayer(identity);
|
NetworkClient.AddLocalPlayer(identity);
|
||||||
identity.SetClientOwner(conn);
|
identity.SetClientOwner(conn);
|
||||||
|
|
||||||
// Trigger OnAuthority
|
|
||||||
identity.ForceAuthority(true);
|
|
||||||
|
|
||||||
// Trigger OnStartLocalPlayer
|
// Trigger OnStartLocalPlayer
|
||||||
identity.SetLocalPlayer();
|
identity.SetLocalPlayer();
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user