fix
This commit is contained in:
@@ -3,7 +3,6 @@ using Godot;
|
||||
|
||||
namespace NodeWar;
|
||||
|
||||
[Singleton]
|
||||
public partial class BuildManager : Node
|
||||
{
|
||||
private bool Building { get; set; }
|
||||
@@ -12,6 +11,13 @@ public partial class BuildManager : Node
|
||||
|
||||
private Dictionary<NoduleConnection, Root> NoduleConnections { get; set; } = new();
|
||||
|
||||
public static BuildManager Instance { get; private set; }
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
Instance = this;
|
||||
}
|
||||
|
||||
public override void _Process(double delta)
|
||||
{
|
||||
if (Input.IsActionJustPressed(MyInput.Build) && !Building)
|
||||
|
||||
Reference in New Issue
Block a user