Set yaml filename when loading from FileSystem.
This commit is contained in:
@@ -36,7 +36,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
include |= map.Package.Contains(f);
|
||||
if (include)
|
||||
nodes.AddRange(MiniYaml.FromStream(map.Open(f)));
|
||||
nodes.AddRange(MiniYaml.FromStream(map.Open(f), f));
|
||||
else
|
||||
includes.Add(f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user