Don't add empty Translations nodes to maps.

This commit is contained in:
Paul Chote
2021-07-30 21:23:22 +01:00
committed by abcdefg30
parent c88994a0dd
commit 1ecb3bf99a

View File

@@ -165,7 +165,7 @@ namespace OpenRA
new MapField("Bounds"),
new MapField("Visibility"),
new MapField("Categories"),
new MapField("Translations", required: false),
new MapField("Translations", required: false, ignoreIfValue: ""),
new MapField("LockPreview", required: false, ignoreIfValue: "False"),
new MapField("Players", "PlayerDefinitions"),
new MapField("Actors", "ActorDefinitions"),