Move NetBufferSize override hack to integration tests specifically (#12795)

This commit is contained in:
Pieter-Jan Briers
2022-12-20 23:25:03 +01:00
committed by GitHub
parent c7ec03d2fb
commit 584921b423
3 changed files with 6 additions and 18 deletions

View File

@@ -83,9 +83,7 @@ namespace Content.Client.Options.UI.Tabs
NetPvsSpawnSlider.Value = CVars.NetPVSEntityBudget.DefaultValue;
NetPvsEntrySlider.Value = CVars.NetPVSEntityEnterBudget.DefaultValue;
NetPvsLeaveSlider.Value = CVars.NetPVSEntityExitBudget.DefaultValue;
// Apparently default value doesn't get updated when using override defaults, so using a const
NetInterpRatioSlider.Value = EntryPoint.NetBufferSizeOverride + _stateMan.MinBufferSize;
NetInterpRatioSlider.Value = CVars.NetBufferSize.DefaultValue + _stateMan.MinBufferSize;
UpdateChanges();
}