Fix MiniYaml source locations being lost when merging.

This commit is contained in:
Paul Chote
2022-12-23 19:26:45 +13:00
committed by Gustas
parent b619dd14c5
commit a17e1671f0

View File

@@ -83,7 +83,7 @@ namespace OpenRA
public MiniYamlNode Clone()
{
return new MiniYamlNode(Key, Value.Clone());
return new MiniYamlNode(Key, Value.Clone(), Comment, Location);
}
}