Fix a VS code style suggestion.
This commit is contained in:
@@ -492,12 +492,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
}
|
}
|
||||||
|
|
||||||
void LoadMapPreviewRules(MapPreview map)
|
void LoadMapPreviewRules(MapPreview map)
|
||||||
{
|
|
||||||
new Task(() =>
|
|
||||||
{
|
{
|
||||||
// Force map rules to be loaded on this background thread
|
// Force map rules to be loaded on this background thread
|
||||||
map.PreloadRules();
|
new Task(map.PreloadRules).Start();
|
||||||
}).Start();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void UpdateCurrentMap()
|
void UpdateCurrentMap()
|
||||||
|
|||||||
Reference in New Issue
Block a user