From 1e1c772d8aa92627aea9b15b7edc662457f56543 Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Tue, 7 May 2019 16:25:32 +0300 Subject: [PATCH] (3fb6030aa) Fixed CustomInterface labels not being translated --- .../Source/Items/Components/Signal/CustomInterface.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Barotrauma/BarotraumaClient/Source/Items/Components/Signal/CustomInterface.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Signal/CustomInterface.cs index 124992e2c..e3480c50a 100644 --- a/Barotrauma/BarotraumaClient/Source/Items/Components/Signal/CustomInterface.cs +++ b/Barotrauma/BarotraumaClient/Source/Items/Components/Signal/CustomInterface.cs @@ -117,11 +117,11 @@ namespace Barotrauma.Items.Components { if (uiElements[i] is GUIButton button) { - button.Text = labels[i]; + button.Text = customInterfaceElementList[i].Label; } else if (uiElements[i] is GUITickBox tickBox) { - tickBox.Text = labels[i]; + tickBox.Text = customInterfaceElementList[i].Label; } } }