(6b3ca1aae) Fixed the "item in use by x" text not being visible in item interfaces

This commit is contained in:
Joonas Rikkonen
2019-06-04 16:03:00 +03:00
parent aaa945ded8
commit 8184f0e6f6
3 changed files with 13 additions and 20 deletions
@@ -217,22 +217,6 @@ namespace Barotrauma
return true;
}
private bool RefreshJoinButtonState(GUIComponent component, object obj)
{
if (obj == null || waitingForRefresh) { return false; }
if (!string.IsNullOrWhiteSpace(clientNameBox.Text) && !string.IsNullOrWhiteSpace(ipBox.Text))
{
joinButton.Enabled = true;
}
else
{
joinButton.Enabled = false;
}
return true;
}
private bool SelectServer(GUIComponent component, object obj)
{
if (obj == null || waitingForRefresh || (!(obj is ServerInfo))) { return false; }