Fix firelock door init (#6384)

This commit is contained in:
Leon Friedrich
2022-01-30 17:47:24 +13:00
committed by GitHub
parent c30e4b36db
commit 1914560773
6 changed files with 22 additions and 25 deletions

View File

@@ -28,11 +28,9 @@ public sealed class DoorComponent : Component
/// This should never be set directly.
/// </remarks>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("state")]
public DoorState State = DoorState.Closed;
[DataField("startOpen")]
public readonly bool StartOpen = false;
#region Timing
// if you want do dynamically adjust these times, you need to add networking for them. So for now, they are all
// read-only.