IDFiles should be optional.

This commit is contained in:
IceReaper
2023-04-05 12:23:51 +02:00
committed by abcdefg30
parent 83561d639d
commit a332fba702

View File

@@ -20,6 +20,9 @@ namespace OpenRA.Mods.Common.Installer
{
public static bool IsValidSourcePath(string path, ModContent.ModSource source)
{
if (source.IDFiles == null)
return true;
try
{
foreach (var kv in source.IDFiles.Nodes)