fix inverse effect

This commit is contained in:
Ed
2024-06-30 12:02:40 +03:00
parent 7e6be7feac
commit 7abf678bbe
3 changed files with 9 additions and 8 deletions

View File

@@ -198,7 +198,7 @@ namespace Content.Shared.Chemistry.Reaction
private void OnReaction(Entity<SolutionComponent> soln, ReactionPrototype reaction, ReagentPrototype? reagent, FixedPoint2 unitReactions)
{
var args = new EntityEffectReagentArgs(soln, EntityManager, null, soln.Comp.Solution, unitReactions, reagent, null, 1f);
var args = new EntityEffectReagentArgs(soln, EntityManager, null, soln.Comp.Solution, unitReactions, reagent, null, 1f, soln); //CP14 soln add
var posFound = _transformSystem.TryGetMapOrGridCoordinates(soln, out var gridPos);