Merge nibu/rtd-cut9-menu-lobby into integrated Cut 7+8+9

This commit is contained in:
Meta Vens 2026-12-05 18:49:36 +01:00
commit 42b17c168e
25 changed files with 5150 additions and 90 deletions

View file

@ -180,8 +180,31 @@ public partial class Hud : CanvasLayer
_schematic.QueueRedraw();
}
public void SetMatchHudActive(bool active)
{
Visible = active;
if (!active)
{
if (_netPanel.Visible)
{
_netPanel.Visible = false;
_callsignEdit.ReleaseFocus();
_endpointEdit.ReleaseFocus();
}
if (_garageExpanded)
{
ToggleGarage();
}
ResetFeedback();
}
}
public override void _Process(double delta)
{
if (!Visible)
{
return;
}
float dt = (float)delta;
_crosshair?.Advance(dt);