Add a WidgetArgs type to work around gmcs not understanding lambda -> Action -> object.
This commit is contained in:
@@ -60,7 +60,7 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
public void WorldLoaded(World world)
|
||||
{
|
||||
Game.LoadWidget(world, Info.Widget, new Dictionary<string, object>());
|
||||
Game.LoadWidget(world, Info.Widget, new WidgetArgs());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user