From 1ecb3bf99aa590957c81071b11fa36c2cbfb386d Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Fri, 30 Jul 2021 21:23:22 +0100 Subject: [PATCH] Don't add empty Translations nodes to maps. --- OpenRA.Game/Map/Map.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Map/Map.cs b/OpenRA.Game/Map/Map.cs index 9739028a14..6dfd4f87ab 100644 --- a/OpenRA.Game/Map/Map.cs +++ b/OpenRA.Game/Map/Map.cs @@ -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"),