breaking: Removed obsolete ConfigureServerFrameRate

- Use ConfigureHeadlessFrameRate instead.
This commit is contained in:
MrGadget1024 2021-11-23 14:57:59 -05:00
parent a47e826802
commit 76b456565e

View File

@ -645,10 +645,6 @@ public virtual void OnApplicationQuit()
}
}
// Deprecated 2021-07-21
[Obsolete("Renamed to ConfigureHeadlessFrameRate()")]
public virtual void ConfigureServerFrameRate() {}
/// <summary>Set the frame rate for a headless builds. Override to disable or modify.</summary>
// 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()