Fix a few test failures (#15727)

This commit is contained in:
Leon Friedrich
2023-04-24 19:19:35 +12:00
committed by GitHub
parent a6baf77204
commit ca08a045db
3 changed files with 10 additions and 5 deletions

View File

@@ -14,10 +14,10 @@ namespace Content.Server.Shuttles.Components
/// Whether the thruster has been force to be enabled / disabled (e.g. VV, interaction, etc.)
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("enabled")]
public bool Enabled
{
get => _enabled;
[Obsolete("Use the system method")]
set
{
if (_enabled == value) return;
@@ -36,6 +36,7 @@ namespace Content.Server.Shuttles.Components
}
}
[DataField("enabled")]
private bool _enabled = true;
/// <summary>