Make Ignite tryget flammablecomp (#34970)

The flammable effect does it but we don't do it here for reasons. Sometimes this heisentests.
This commit is contained in:
metalgearsloth
2025-02-08 21:56:44 +11:00
committed by GitHub
parent 87a868459f
commit d7e978274a
3 changed files with 12 additions and 5 deletions

View File

@@ -38,7 +38,8 @@ namespace Content.Server.EntityEffects.Effects
reagentArgs.EntityManager.System<FlammableSystem>().AdjustFireStacks(args.TargetEntity, quantity * multiplier, flammable);
if (reagentArgs.Reagent != null)
reagentArgs.Source?.RemoveReagent(reagentArgs.Reagent.ID, reagentArgs.Quantity);
} else
}
else
{
args.EntityManager.System<FlammableSystem>().AdjustFireStacks(args.TargetEntity, multiplier, flammable);
}