Skip to content

Commit

Permalink
Disable lag rand (#8847)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectroJr authored Jun 15, 2022
1 parent 9ccdc2e commit 6cbf705
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Content.Shared/Entry/EntryPoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@ public override void PostInit()
#if !FULL_RELEASE
var configMan = IoCManager.Resolve<IConfigurationManager>();
configMan.OverrideDefault(CVars.NetFakeLagMin, 0.075f);
configMan.OverrideDefault(CVars.NetFakeLagRand, 0.01f);
configMan.OverrideDefault(CVars.NetFakeLoss, 0.005f);
configMan.OverrideDefault(CVars.NetFakeDuplicates, 0.005f);

// fake lag rand leads to messages arriving out of order. Sadly, networking is not robust enough, so for now
// just leaving this disabled.
// configMan.OverrideDefault(CVars.NetFakeLagRand, 0.01f);

#endif

}
Expand Down

0 comments on commit 6cbf705

Please sign in to comment.