(bf3994d49) Fixed save time being displayed in UNIX time in the right-hand panel in the campaign setup UI

This commit is contained in:
Joonas Rikkonen
2019-05-18 17:55:03 +03:00
parent f0d8186c69
commit 8fec6cae81
2 changed files with 22 additions and 0 deletions
@@ -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; }