Fire extinguisher fix (#13199)

This commit is contained in:
Jackrost
2022-12-27 00:06:50 +03:00
committed by GitHub
parent a4deb9c69d
commit 84ebe67e2d

View File

@@ -57,8 +57,6 @@ public sealed class FireExtinguisherSystem : EntitySystem
if (args.Handled)
return;
args.Handled = true;
if (component.HasSafety && component.Safety)
{
_popupSystem.PopupEntity(Loc.GetString("fire-extinguisher-component-safety-on-message"), uid,
@@ -73,6 +71,8 @@ public sealed class FireExtinguisherSystem : EntitySystem
return;
}
args.Handled = true;
var transfer = container.AvailableVolume;
if (TryComp<SolutionTransferComponent>(uid, out var solTrans))
{