mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-06 17:58:05 +02:00
Reduce allocations
This commit is contained in:
@@ -64,6 +64,11 @@ namespace Robust.Client.UserInterface.CustomControls
|
||||
return;
|
||||
}
|
||||
|
||||
if (!VisibleInTree)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!NetManager.IsConnected)
|
||||
{
|
||||
contents.Text = "Not connected to server.";
|
||||
|
||||
Reference in New Issue
Block a user