From 0ded8f808001abc2df73fba048344ea111bd957a Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Thu, 7 Jul 2022 17:05:30 +0200 Subject: [PATCH] Allow null images for SmokeImage on SmudgeLayer --- OpenRA.Mods.Common/Traits/World/SmudgeLayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/World/SmudgeLayer.cs b/OpenRA.Mods.Common/Traits/World/SmudgeLayer.cs index 843327cfb4..dabe1a982a 100644 --- a/OpenRA.Mods.Common/Traits/World/SmudgeLayer.cs +++ b/OpenRA.Mods.Common/Traits/World/SmudgeLayer.cs @@ -41,7 +41,7 @@ namespace OpenRA.Mods.Common.Traits [Desc("Smoke sprite image name")] public readonly string SmokeImage = null; - [SequenceReference(nameof(SmokeImage))] + [SequenceReference(nameof(SmokeImage), allowNullImage: true)] [Desc("Smoke sprite sequences randomly chosen from")] public readonly string[] SmokeSequences = Array.Empty();