File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ private VisualElement PrepareInspectorTree(VisualTreeAsset sourceTree)
8484 } ) ;
8585
8686 _ = ticksPerSecond . RegisterValueChangedCallback ( _ => UpdateTicksPerSecondLabel ( ) ) ;
87+ _ = ticksPerSecond . RegisterValueChangedCallback ( _ => UpdateInputLagHighValue ( ) ) ;
8788 _ = minClientTickRateFactor . RegisterValueChangedCallback ( _ => UpdateTicksPerSecondLabel ( ) ) ;
8889 _ = maxClientTickRateFactor . RegisterValueChangedCallback ( _ => UpdateTicksPerSecondLabel ( ) ) ;
8990
@@ -117,6 +118,7 @@ private VisualElement PrepareInspectorTree(VisualTreeAsset sourceTree)
117118 UpdateDebugModeOptions ( ) ;
118119 UpdateVersionUploadStatus ( ) ;
119120 UpdateSnapshotReplayOptions ( ) ;
121+ UpdateInputLagHighValue ( ) ;
120122
121123 return inspectorTree ;
122124
@@ -239,6 +241,8 @@ void SetErrorMessage(string message)
239241 snapshotReplayError . style . display = DisplayStyle . Flex ;
240242 }
241243 }
244+
245+ void UpdateInputLagHighValue ( ) => inputLag . highValue = gameConfig . TicksPerSecond ;
242246 }
243247 }
244248}
You can’t perform that action at this time.
0 commit comments