From 76b456565e23446a9d86a08666963d48670f8271 Mon Sep 17 00:00:00 2001 From: MrGadget1024 Date: Tue, 23 Nov 2021 14:57:59 -0500 Subject: [PATCH] breaking: Removed obsolete ConfigureServerFrameRate - Use ConfigureHeadlessFrameRate instead. --- Assets/Mirror/Runtime/NetworkManager.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Assets/Mirror/Runtime/NetworkManager.cs b/Assets/Mirror/Runtime/NetworkManager.cs index 0688acf6c..32e468f86 100644 --- a/Assets/Mirror/Runtime/NetworkManager.cs +++ b/Assets/Mirror/Runtime/NetworkManager.cs @@ -645,10 +645,6 @@ public virtual void OnApplicationQuit() } } - // Deprecated 2021-07-21 - [Obsolete("Renamed to ConfigureHeadlessFrameRate()")] - public virtual void ConfigureServerFrameRate() {} - /// Set the frame rate for a headless builds. Override to disable or modify. // useful for dedicated servers. // useful for headless benchmark clients. @@ -660,9 +656,7 @@ public virtual void ConfigureHeadlessFrameRate() #endif // call the obsolete function in case someone did anything important -#pragma warning disable 618 - ConfigureServerFrameRate(); -#pragma warning restore 618 + ConfigureHeadlessFrameRate(); } bool InitializeSingleton()