(bfa504101) Manually tweak Typhon waypoints.

This commit is contained in:
Joonas Rikkonen
2019-05-18 17:51:33 +03:00
parent 5ff5d89a21
commit eaf65d7522
2 changed files with 16 additions and 0 deletions

View File

@@ -218,6 +218,22 @@ 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; }