This commit is contained in:
committed by
GitHub
parent
c5f7c61041
commit
cecf87997b
@@ -5,11 +5,10 @@ using Content.Shared.Chemistry.Components;
|
||||
|
||||
namespace Content.Server.Body.Components;
|
||||
|
||||
[RegisterComponent, Access(typeof(LungSystem))]
|
||||
[RegisterComponent, Friend(typeof(LungSystem))]
|
||||
public sealed class LungComponent : Component
|
||||
{
|
||||
[DataField("air")]
|
||||
[Access(typeof(LungSystem), Other = AccessPermissions.ReadExecute)] // FIXME Friends
|
||||
public GasMixture Air { get; set; } = new()
|
||||
{
|
||||
Volume = 6,
|
||||
@@ -17,6 +16,5 @@ public sealed class LungComponent : Component
|
||||
};
|
||||
|
||||
[ViewVariables]
|
||||
[Access(typeof(LungSystem), Other = AccessPermissions.ReadExecute)] // FIXME Friends
|
||||
public Solution LungSolution = default!;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user