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

View File

@@ -9,9 +9,9 @@
netsync: false netsync: false
state: firstaid state: firstaid
- type: Storage - type: Storage
capacity: 30 capacity: 35
- type: Item - type: Item
size: 30 size: 35
sprite: Objects/Specific/Medical/firstaidkits.rsi sprite: Objects/Specific/Medical/firstaidkits.rsi
heldPrefix: firstaid heldPrefix: firstaid
- type: Tag - type: Tag
@@ -93,4 +93,8 @@
- type: Sprite - type: Sprite
state: blackkit state: blackkit
- type: Item - type: Item
heldPrefix: blackkit heldPrefix: blackkit
size: 50
- type: Storage
capacity: 50

View File

@@ -83,7 +83,7 @@
- type: Item - type: Item
sprite: Objects/Tools/Toolboxes/toolbox_syn.rsi sprite: Objects/Tools/Toolboxes/toolbox_syn.rsi
- type: Storage - type: Storage
capacity: 120 capacity: 170 # this seems silly high
- type: MeleeWeapon - type: MeleeWeapon
damage: damage:
types: types: