Fix a VS code style suggestion.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user