Allow the Command & Super door remotes to use the access of their user. (Re-creation of PR due to changes to game balance) (#35536)

This commit is contained in:
BramvanZijp
2025-06-29 18:21:14 +02:00
committed by GitHub
parent 5d191d7b87
commit 7951db15ca
4 changed files with 40 additions and 5 deletions

View File

@@ -8,6 +8,13 @@ public sealed partial class DoorRemoteComponent : Component
[AutoNetworkedField]
[DataField]
public OperatingMode Mode = OperatingMode.OpenClose;
/// <summary>
/// Does the remote allow the user to manipulate doors that they have access to, even if the remote itself does not?
/// </summary>
[AutoNetworkedField]
[DataField]
public bool IncludeUserAccess = false;
}
public enum OperatingMode : byte