From 8bef2bf8641f7b3e999722451802347d5d01dce1 Mon Sep 17 00:00:00 2001 From: vis2k Date: Wed, 9 Mar 2022 15:51:54 +0800 Subject: [PATCH] TODO --- Assets/Mirror/Runtime/NetworkClient.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Mirror/Runtime/NetworkClient.cs b/Assets/Mirror/Runtime/NetworkClient.cs index 8f094970e..6a5de0e02 100644 --- a/Assets/Mirror/Runtime/NetworkClient.cs +++ b/Assets/Mirror/Runtime/NetworkClient.cs @@ -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