Unstable 1.8.4.0
This commit is contained in:
@@ -86,7 +86,7 @@ namespace Barotrauma
|
||||
|
||||
var componentEditor = new SerializableEntityEditor(listBox.Content.RectTransform, ic, inGame: !isEditor, showName: false, titleFont: GUIStyle.SubHeadingFont)
|
||||
{
|
||||
Readonly = CircuitBox.Locked
|
||||
Readonly = CircuitBox.IsLocked()
|
||||
};
|
||||
fieldCount += componentEditor.Fields.Count;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace Barotrauma
|
||||
|
||||
public List<CircuitBoxWireRenderer> VirtualWires = new();
|
||||
|
||||
public bool Locked => CircuitBox.Locked;
|
||||
public bool Locked => CircuitBox.IsLocked();
|
||||
|
||||
public CircuitBoxUI(CircuitBox box)
|
||||
{
|
||||
@@ -786,6 +786,7 @@ namespace Barotrauma
|
||||
if (wireOption.TryUnwrap(out var wire))
|
||||
{
|
||||
CircuitBox.RemoveWires(wire.IsSelected ? wireSelection : ImmutableArray.Create(wire));
|
||||
return;
|
||||
}
|
||||
|
||||
switch (nodeOption)
|
||||
|
||||
Reference in New Issue
Block a user