Add ModData parameter to ILintMapPass.

This commit is contained in:
Paul Chote
2018-06-21 22:33:14 +00:00
parent f50a891d18
commit d46278ab0e
7 changed files with 7 additions and 8 deletions

View File

@@ -105,7 +105,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
try
{
var customMapPass = (ILintMapPass)modData.ObjectCreator.CreateBasic(customMapPassType);
customMapPass.Run(EmitError, EmitWarning, testMap);
customMapPass.Run(EmitError, EmitWarning, modData, testMap);
}
catch (Exception e)
{