Merge branch 'eote-doors-lifts-airlocks' into eote-airlocks-interaction

This commit is contained in:
Mister_Nebula 2022-03-14 20:07:31 +00:00
commit 8250905bf7
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ internal class QSBEclipseDoorController : QSBRotatingElements<EclipseDoorControl
protected override IEnumerable<SingleLightSensor> LightSensors => AttachedObject._lightSensors;
public override string ReturnLabel()
=> $"{base.ReturnLabel()}\r\n- SyncerValue:{NetworkBehaviour.Value.Join()}\r\n- HasAuth:{NetworkBehaviour.hasAuthority}";
=> $"{base.ReturnLabel()}\r\n- SyncerValue:{NetworkBehaviour.Value?.Join()}\r\n- HasAuth:{NetworkBehaviour.hasAuthority}";
protected override GameObject NetworkObjectPrefab => QSBNetworkManager.singleton.DoorPrefab;
}

View File

@ -10,7 +10,7 @@ internal class QSBEclipseElevatorController : QSBRotatingElements<EclipseElevato
protected override IEnumerable<SingleLightSensor> LightSensors => AttachedObject._lightSensors;
public override string ReturnLabel()
=> $"{base.ReturnLabel()}\r\n- SyncerValue:{NetworkBehaviour.Value.Join()}\r\n- HasAuth:{NetworkBehaviour.hasAuthority}";
=> $"{base.ReturnLabel()}\r\n- SyncerValue:{NetworkBehaviour.Value?.Join()}\r\n- HasAuth:{NetworkBehaviour.hasAuthority}";
protected override GameObject NetworkObjectPrefab => QSBNetworkManager.singleton.ElevatorPrefab;
}