From c5b1e6be5f61638079a3ec854c7503ca9620f87b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Thu, 13 Aug 2015 20:28:52 +0200 Subject: [PATCH] fix a null reference exception at map (tileset) --- OpenRA.Mods.Common/Lint/CheckSequences.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Lint/CheckSequences.cs b/OpenRA.Mods.Common/Lint/CheckSequences.cs index 259f412713..a8c640765a 100644 --- a/OpenRA.Mods.Common/Lint/CheckSequences.cs +++ b/OpenRA.Mods.Common/Lint/CheckSequences.cs @@ -49,8 +49,8 @@ namespace OpenRA.Mods.Common.Lint { var image = renderInfo.GetImage(actorInfo.Value, sequenceProvider, race); if (sequenceDefinitions.All(s => s.Key != image.ToLowerInvariant()) && !actorInfo.Value.Name.Contains("^")) - emitWarning("Sprite image {0} from actor {1} on tileset {2} using race {3} has no sequence definition." - .F(image, actorInfo.Value.Name, map.Tileset, race)); + emitWarning("Sprite image {0} from actor {1} using race {2} has no sequence definition." + .F(image, actorInfo.Value.Name, race)); } } }