mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
TODO
This commit is contained in:
parent
c14566c731
commit
8bef2bf864
@ -1283,6 +1283,7 @@ internal static void ChangeOwner(NetworkIdentity identity, ChangeOwnerMessage me
|
||||
{
|
||||
// set ownership flag (aka authority)
|
||||
identity.hasAuthority = message.isOwner;
|
||||
// TODO call this AFTER OnStopLocalPlayer? clear everything first, then set new values?
|
||||
identity.NotifyAuthority();
|
||||
|
||||
// set localPlayer flag
|
||||
|
Loading…
Reference in New Issue
Block a user