Fix a VS code style suggestion.

This commit is contained in:
Paul Chote
2018-09-09 04:25:37 +01:00
committed by abcdefg30
parent 9e85aefca8
commit 6ac7f887c0

View File

@@ -493,11 +493,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
void LoadMapPreviewRules(MapPreview map)
{
new Task(() =>
{
// Force map rules to be loaded on this background thread
map.PreloadRules();
}).Start();
// Force map rules to be loaded on this background thread
new Task(map.PreloadRules).Start();
}
void UpdateCurrentMap()