diff --git a/OpenRA.Mods.Common/Widgets/ViewportControllerWidget.cs b/OpenRA.Mods.Common/Widgets/ViewportControllerWidget.cs index 7d91f10959..b80b1ee89d 100644 --- a/OpenRA.Mods.Common/Widgets/ViewportControllerWidget.cs +++ b/OpenRA.Mods.Common/Widgets/ViewportControllerWidget.cs @@ -86,15 +86,15 @@ namespace OpenRA.Mods.Common.Widgets { ScrollDirection.Right, new float2(1, 0) }, }; - Lazy tooltipContainer; + readonly Lazy tooltipContainer; int2? joystickScrollStart, joystickScrollEnd; int2? standardScrollStart; bool isStandardScrolling; ScrollDirection keyboardDirections; ScrollDirection edgeDirections; - World world; - WorldRenderer worldRenderer; + readonly World world; + readonly WorldRenderer worldRenderer; HotkeyReference[] saveBookmarkHotkeys; HotkeyReference[] restoreBookmarkHotkeys;