Make the menu widget readonly
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user