Skip to content

Commit

Permalink
fix: headless build
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpach committed Mar 31, 2020
1 parent d63d845 commit ab47a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirror/Runtime/NetworkManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ public virtual void ConfigureServerFrameRate()
// * if not in Editor (it doesn't work in the Editor)
// * if not in Host mode
#if !UNITY_EDITOR
if (!client.active && isHeadless)
if (!client.active && IsHeadless)
{
Application.targetFrameRate = serverTickRate;
Debug.Log("Server Tick Rate set to: " + Application.targetFrameRate + " Hz.");
Expand Down

0 comments on commit ab47a45

Please sign in to comment.