Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Assets/FishNet/Runtime/Managing/Timing/TimeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1242,6 +1242,12 @@ public void SetTickRate(ushort value)
#region UNITY_EDITOR
private void OnValidate()
{
/* Physics mode sets Physics.simulationMode and Time.fixedDeltaTime, which
* outside play mode are the project settings: they would be saved with the
* project and baked into player builds. */
if (!Application.isPlaying)
return;

SetInitialValues();
}
#endregion
Expand Down