(3158a90db) Option to prevent AI targets from being automatically added to specific structure pieces

This commit is contained in:
Joonas Rikkonen
2019-05-18 17:37:39 +03:00
parent c86225fd82
commit c6b80ad234
4 changed files with 81 additions and 114 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; }