(9a7d83a40) Fullscreen bug workarounds
This commit is contained in:
@@ -120,13 +120,13 @@ namespace Barotrauma.Items.Components
|
||||
if (uiElements[i] is GUIButton button)
|
||||
{
|
||||
button.Text = string.IsNullOrWhiteSpace(customInterfaceElementList[i].Label) ?
|
||||
TextManager.GetWithVariable("connection.signaloutx", "[num]", (i + 1).ToString()) :
|
||||
TextManager.Get("connection.signaloutx").Replace("[num]", (i + 1).ToString()) :
|
||||
customInterfaceElementList[i].Label;
|
||||
}
|
||||
else if (uiElements[i] is GUITickBox tickBox)
|
||||
{
|
||||
tickBox.Text = string.IsNullOrWhiteSpace(customInterfaceElementList[i].Label) ?
|
||||
TextManager.GetWithVariable("connection.signaloutx", "[num]", (i + 1).ToString()) :
|
||||
TextManager.Get("connection.signaloutx").Replace("[num]", (i + 1).ToString()) :
|
||||
customInterfaceElementList[i].Label;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user