Reduce allocations

This commit is contained in:
Pieter-Jan Briers
2020-12-29 03:58:16 +01:00
parent ecbb32b70b
commit 28caf0d74c
4 changed files with 21 additions and 1 deletions
@@ -64,6 +64,11 @@ namespace Robust.Client.UserInterface.CustomControls
return;
}
if (!VisibleInTree)
{
return;
}
if (!NetManager.IsConnected)
{
contents.Text = "Not connected to server.";