Remove unused parameters.

This commit is contained in:
Matthias Mailänder
2022-03-13 12:02:52 +01:00
committed by abcdefg30
parent ea243b8558
commit 0e7ad43425
205 changed files with 451 additions and 455 deletions

View File

@@ -120,7 +120,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
// Run all rule checks on the map if it defines custom rules.
if (map.RuleDefinitions != null || map.VoiceDefinitions != null || map.WeaponDefinitions != null)
CheckRules(modData, map.Rules, map);
CheckRules(modData, map.Rules);
// Run all map-level checks here.
foreach (var customMapPassType in modData.ObjectCreator.GetTypesImplementing<ILintMapPass>())
@@ -137,7 +137,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
void CheckRules(ModData modData, Ruleset rules, Map map = null)
void CheckRules(ModData modData, Ruleset rules)
{
foreach (var customRulesPassType in modData.ObjectCreator.GetTypesImplementing<ILintRulesPass>())
{