(fc5c8644d) Automatically enable user statistics if the "do you want to send statistics" prompt cannot be shown on the selected language

This commit is contained in:
Joonas Rikkonen
2019-05-18 17:54:46 +03:00
parent c44d64df1b
commit f0d8186c69
3 changed files with 30 additions and 36 deletions
@@ -218,22 +218,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) { return false; }