Added mechanic that the gate blocks switching to another layer, added map button, moved small parts to fit buttons.

This commit is contained in:
=
2026-05-02 20:08:18 +02:00
parent a2c35c44cb
commit 7f13505759
9 changed files with 111 additions and 67 deletions
+7 -2
View File
@@ -18,11 +18,16 @@ public partial class RobotList : PanelContainer
{
if (Input.IsActionJustPressed("robot_list"))
{
Visible = !Visible;
if (Visible) ReloadRobots();
ShowList();
}
}
public void ShowList()
{
Visible = !Visible;
if (Visible) ReloadRobots();
}
public void ReloadRobots()
{
foreach (Node node in robotList.GetChildren())