@@ -29,7 +29,7 @@ namespace Content.Client.Construction
|
||||
|
||||
private int _nextId;
|
||||
|
||||
private bool CraftingEnabled { get; set; }
|
||||
public bool CraftingEnabled { get; private set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void Initialize()
|
||||
|
||||
@@ -476,6 +476,7 @@ namespace Content.Client.Construction.UI
|
||||
_constructionSystem = system;
|
||||
system.ToggleCraftingWindow += SystemOnToggleMenu;
|
||||
system.CraftingAvailabilityChanged += SystemCraftingAvailabilityChanged;
|
||||
CraftingAvailable = system.CraftingEnabled;
|
||||
}
|
||||
|
||||
private void UnbindFromSystem()
|
||||
|
||||
Reference in New Issue
Block a user