Fix reagents with ReagentData being duplicated (#30983)

Initial commit
This commit is contained in:
SlamBamActionman
2024-08-16 12:47:53 +02:00
committed by GitHub
parent 99bc389fd5
commit 49dd17dcab
2 changed files with 51 additions and 20 deletions

View File

@@ -172,7 +172,7 @@ namespace Content.Shared.Chemistry.Reaction
if (!reactant.Value.Catalyst)
{
var amountToRemove = unitReactions * reactant.Value.Amount;
solution.RemoveReagent(reactant.Key, amountToRemove);
solution.RemoveReagent(reactant.Key, amountToRemove, ignoreReagentData: true);
}
}