Fix disposal unit termination (#12266)
This commit is contained in:
@@ -20,6 +20,9 @@ namespace Content.Server.Disposal.Unit.EntitySystems
|
||||
|
||||
public void ExitDisposals(EntityUid uid, DisposalHolderComponent? holder = null, TransformComponent? holderTransform = null)
|
||||
{
|
||||
if (Terminating(uid))
|
||||
return;
|
||||
|
||||
if (!Resolve(uid, ref holder, ref holderTransform))
|
||||
return;
|
||||
if (holder.IsExitingDisposals)
|
||||
|
||||
Reference in New Issue
Block a user