Make the menu widget readonly

This commit is contained in:
abcdefg30
2018-09-22 16:23:24 +02:00
committed by Paul Chote
parent d9946f63e4
commit 92e8fbf4d0

View File

@@ -21,7 +21,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
{
public class IngameMenuLogic : ChromeLogic
{
Widget menu;
readonly Widget menu;
[ObjectCreator.UseCtor]
public IngameMenuLogic(Widget widget, ModData modData, World world, Action onExit, WorldRenderer worldRenderer, IngameInfoPanel activePanel)