(340b2acc1) Structure fixes: - Fixed incorrect backgroundsprite sourcerects in most new wall pieces. - Fixed adjacent sprites bleeding into many of the new wall sprites. - Removed collider from Front F Pulley. - Tweaked a couple of colliders to get them to match the shape of the structure better. - Disable AI targets on all the small wall cap/tie/gromit parts. - Force the orientation of some of the shuttle pieces to be correct (some of the pieces have a larger width than height but should still be handled as horizontal walls and vice versa).
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user