Set yaml filename when loading from FileSystem.

This commit is contained in:
Paul Chote
2016-06-04 15:18:47 +01:00
parent 916f2ea2ea
commit b4d1517d0d
15 changed files with 17 additions and 17 deletions

View File

@@ -204,7 +204,7 @@ namespace OpenRA
public TileSet(IReadOnlyFileSystem fileSystem, string filepath)
{
var yaml = MiniYaml.DictFromStream(fileSystem.Open(filepath));
var yaml = MiniYaml.DictFromStream(fileSystem.Open(filepath), filepath);
// General info
FieldLoader.Load(this, yaml["General"]);