mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
breaking: Removed obsolete ConfigureServerFrameRate
- Use ConfigureHeadlessFrameRate instead.
This commit is contained in:
parent
a47e826802
commit
76b456565e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user