diff --git a/Assets/Mirror/Examples/_Common/Scripts/CanvasNetworkManagerHUD/CanvasNetworkManagerHUD.cs b/Assets/Mirror/Examples/_Common/Scripts/CanvasNetworkManagerHUD/CanvasNetworkManagerHUD.cs index a973411db..049961d0a 100755 --- a/Assets/Mirror/Examples/_Common/Scripts/CanvasNetworkManagerHUD/CanvasNetworkManagerHUD.cs +++ b/Assets/Mirror/Examples/_Common/Scripts/CanvasNetworkManagerHUD/CanvasNetworkManagerHUD.cs @@ -192,9 +192,9 @@ private void Reset() if (!FindAnyObjectByType()) Debug.LogError("This component requires a NetworkManager component to be present in the scene. Please add!"); #else - // Deprecated in Unity 2023.1 - if (!FindObjectOfType()) - Debug.LogError("This component requires a NetworkManager component to be present in the scene. Please add!"); + // Deprecated in Unity 2023.1 + if (!FindObjectOfType()) + Debug.LogError("This component requires a NetworkManager component to be present in the scene. Please add!"); #endif } }