emag disposal units to disable pressure requirement (#14630)
This commit is contained in:
@@ -552,8 +552,11 @@ namespace Content.Server.Disposal.Unit.EntitySystems
|
||||
component.AutomaticEngageToken?.Cancel();
|
||||
component.AutomaticEngageToken = null;
|
||||
|
||||
component.Pressure = 0;
|
||||
component.State = SharedDisposalUnitComponent.PressureState.Pressurizing;
|
||||
if (!component.DisablePressure)
|
||||
{
|
||||
component.Pressure = 0;
|
||||
component.State = SharedDisposalUnitComponent.PressureState.Pressurizing;
|
||||
}
|
||||
|
||||
component.Engaged = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user