(3fb6030aa) Fixed CustomInterface labels not being translated
This commit is contained in:
@@ -117,11 +117,11 @@ namespace Barotrauma.Items.Components
|
|||||||
{
|
{
|
||||||
if (uiElements[i] is GUIButton button)
|
if (uiElements[i] is GUIButton button)
|
||||||
{
|
{
|
||||||
button.Text = labels[i];
|
button.Text = customInterfaceElementList[i].Label;
|
||||||
}
|
}
|
||||||
else if (uiElements[i] is GUITickBox tickBox)
|
else if (uiElements[i] is GUITickBox tickBox)
|
||||||
{
|
{
|
||||||
tickBox.Text = labels[i];
|
tickBox.Text = customInterfaceElementList[i].Label;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user