Fix a collection of minor style violations.
This enables several new StyleCopAnalyzer rules to be enabled immediately during migration.
This commit is contained in:
@@ -63,7 +63,8 @@ namespace OpenRA.Mods.Common.LoadScreens
|
||||
var widgetArgs = new WidgetArgs
|
||||
{
|
||||
{ "continueLoading", () =>
|
||||
Game.RunAfterTick(() => Game.InitializeMod(modId, new Arguments())) },
|
||||
Game.RunAfterTick(() => Game.InitializeMod(modId, new Arguments()))
|
||||
},
|
||||
{ "mod", selectedMod },
|
||||
{ "content", content },
|
||||
};
|
||||
@@ -77,7 +78,8 @@ namespace OpenRA.Mods.Common.LoadScreens
|
||||
{ "mod", selectedMod },
|
||||
{ "content", content },
|
||||
{ "onCancel", () =>
|
||||
Game.RunAfterTick(() => Game.InitializeMod(modId, new Arguments())) }
|
||||
Game.RunAfterTick(() => Game.InitializeMod(modId, new Arguments()))
|
||||
}
|
||||
};
|
||||
|
||||
Ui.OpenWindow("CONTENT_PANEL", widgetArgs);
|
||||
|
||||
Reference in New Issue
Block a user