scale reagent damage when under metabolism rate (#11578)

This commit is contained in:
Rane
2022-10-09 15:40:49 -04:00
committed by GitHub
parent bd86557f61
commit ee10581e88
6 changed files with 8 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ namespace Content.Shared.Chemistry
// If we have a source solution, use the reagent quantity we have left. Otherwise, use the reaction volume specified.
var args = new ReagentEffectArgs(uid, null, source, reagent,
source?.GetReagentQuantity(reagent.ID) ?? reactVolume, EntityManager, method);
source?.GetReagentQuantity(reagent.ID) ?? reactVolume, EntityManager, method, null);
// First, check if the reagent wants to apply any effects.
if (reagent.ReactiveEffects != null && reactive.ReactiveGroups != null)