Remove unnecessary value assignment (IDE0059)
This commit is contained in:
committed by
Gustas
parent
757c4d84c7
commit
6bd631618c
@@ -621,8 +621,7 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
|
||||
}
|
||||
|
||||
// Merge Ground into Ambient
|
||||
float ground = 0;
|
||||
if (parsed.TryGetValue("Ground", out ground))
|
||||
if (parsed.TryGetValue("Ground", out var ground))
|
||||
{
|
||||
if (!parsed.ContainsKey("Ambient"))
|
||||
parsed["Ambient"] = 1f;
|
||||
|
||||
Reference in New Issue
Block a user