Use discard syntax

This commit is contained in:
teinarss
2020-08-16 11:12:07 +02:00
committed by Paul Chote
parent 27f1a7ab27
commit 8d27d22100
12 changed files with 17 additions and 17 deletions

View File

@@ -355,7 +355,7 @@ namespace OpenRA
ExternalMods = new ExternalMods();
if (modID != null && Mods.TryGetValue(modID, out var currentMod))
if (modID != null && Mods.TryGetValue(modID, out _))
{
var launchPath = args.GetValue("Engine.LaunchPath", Assembly.GetEntryAssembly().Location);