Fixed wires do after spam (#12792)

This commit is contained in:
Alex Evgrashin
2022-12-21 15:41:06 +01:00
committed by GitHub
parent 741c5a3c60
commit c40f1f8cac
2 changed files with 26 additions and 2 deletions

View File

@@ -62,6 +62,13 @@ public sealed class WiresComponent : Component
[DataField("alwaysRandomize")]
public bool AlwaysRandomize { get; }
/// <summary>
/// Marks if maintenance panel being open/closed by someone with a screwdriver.
/// Prevents do after spam.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
public bool IsScrewing;
/// <summary>
/// Per wire status, keyed by an object.
/// </summary>