From 32750700a453c37d61637d4b4bdb0911fb210d7e Mon Sep 17 00:00:00 2001 From: Gustas <37534529+PunkPun@users.noreply.github.com> Date: Sun, 27 Jul 2025 21:42:50 +0300 Subject: [PATCH] Lint ModPackage --- OpenRA.Mods.Common/ModContent.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Mods.Common/ModContent.cs b/OpenRA.Mods.Common/ModContent.cs index 80d0339006..95ec9d0659 100644 --- a/OpenRA.Mods.Common/ModContent.cs +++ b/OpenRA.Mods.Common/ModContent.cs @@ -13,6 +13,7 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.Linq; +using OpenRA.Traits; namespace OpenRA.Mods.Common { @@ -100,6 +101,7 @@ namespace OpenRA.Mods.Common [FieldLoader.Require] public readonly string Mod; + [IncludeFluentReferences(LintDictionaryReference.Values)] [FieldLoader.LoadUsing(nameof(LoadPackages))] public readonly Dictionary Packages = [];