Remove IDropped (#7075)
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Content.Server.Atmos.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
#pragma warning disable 618
|
||||
public sealed class GasTankComponent : Component, IExamine, IGasMixtureHolder, IDropped
|
||||
public sealed class GasTankComponent : Component, IExamine, IGasMixtureHolder
|
||||
#pragma warning restore 618
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
@@ -31,8 +31,6 @@ namespace Content.Server.Atmos.Components
|
||||
|
||||
private int _integrity = 3;
|
||||
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
|
||||
[ViewVariables] private BoundUserInterface? _userInterface;
|
||||
|
||||
[DataField("ruptureSound")] private SoundSpecifier _ruptureSound = new SoundPathSpecifier("Audio/Effects/spray.ogg");
|
||||
@@ -289,10 +287,5 @@ namespace Content.Server.Atmos.Components
|
||||
if (_integrity < 3)
|
||||
_integrity++;
|
||||
}
|
||||
|
||||
void IDropped.Dropped(DroppedEventArgs eventArgs)
|
||||
{
|
||||
DisconnectFromInternals(eventArgs.User);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user