This commit is contained in:
BIGZi0348
2025-01-09 00:06:51 +03:00
parent 5664530649
commit 601edc616b

View File

@@ -121,7 +121,7 @@ namespace Content.Server.Chemistry.ReagentEffects
} }
public override void Effect(ReagentEffectArgs args) public override void Effect(ReagentEffectArgs args)
{ { // TODO Make something out of this acid system
if (!PierceHardsuit && if (!PierceHardsuit &&
args.EntityManager.System<InventorySystem>().TryGetSlotEntity(args.SolutionEntity, "outerClothing", out var suit) && args.EntityManager.System<InventorySystem>().TryGetSlotEntity(args.SolutionEntity, "outerClothing", out var suit) &&
args.EntityManager.System<TagSystem>().HasTag(suit.Value, "Hardsuit")) args.EntityManager.System<TagSystem>().HasTag(suit.Value, "Hardsuit"))