File tree Expand file tree Collapse file tree
WinterBurrows/WinterBurrow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ public class Plugin : BasePlugin
4242
4343 /// <summary>
4444 /// Flag indicating whether the cached resolution is valid.
45- /// Set to false when the resolution config changes to trigger re-parsing .
45+ /// Set to false when the resolution config changes to trigger reparsing .
4646 /// </summary>
4747 private static bool _resolutionCacheValid ;
4848
4949 /// <summary>
50- /// Invalidates the resolution cache, forcing a re-parse on next access.
50+ /// Invalidates the resolution cache, forcing a reparse on next access.
5151 /// Called when the user changes the resolution setting.
5252 /// </summary>
5353 private static void InvalidateResolutionCache ( ) => _resolutionCacheValid = false ;
Original file line number Diff line number Diff line change 1+ using System . Net . Mime ;
2+ using System . Numerics ;
3+
14namespace WinterBurrow ;
25
36/// <summary>
@@ -100,7 +103,7 @@ private static void UpdateDisplay(bool force = false)
100103 {
101104 // Apply VSync and framerate settings
102105 QualitySettings . vSyncCount = DisplayConfig . GetVSyncValue ( ) ;
103- Application . targetFrameRate = QualitySettings . vSyncCount == 0 ? DisplayConfig . TargetFramerate . Value : - 1 ;
106+ MediaTypeNames . Application . targetFrameRate = QualitySettings . vSyncCount == 0 ? DisplayConfig . TargetFramerate . Value : - 1 ;
104107
105108 if ( force )
106109 {
You can’t perform that action at this time.
0 commit comments