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

@@ -16,7 +16,7 @@ namespace OpenRA.Mods.Common.Lint
{
public class CheckMapCordon : ILintMapPass
{
public void Run(Action<string> emitError, Action<string> emitWarning, Map map)
public void Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Map map)
{
if (map.Bounds.Left == 0 || map.Bounds.Top == 0
|| map.Bounds.Right == map.MapSize.X || map.Bounds.Bottom == map.MapSize.Y)