Dictionary optimization
This commit is contained in:
committed by
atlimit8
parent
b71402f64d
commit
1b69ff017d
@@ -371,9 +371,6 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
||||
}
|
||||
|
||||
// Overwrite default player definitions if needed
|
||||
if (!mapPlayers.Players.ContainsKey(section))
|
||||
mapPlayers.Players.Add(section, pr);
|
||||
else
|
||||
mapPlayers.Players[section] = pr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user