Chem entity nerf (#11037)

This commit is contained in:
Kara
2022-09-05 18:43:04 -07:00
committed by GitHub
parent 9b67574225
commit 63b147e111
5 changed files with 9 additions and 1 deletions

View File

@@ -281,6 +281,9 @@ namespace Content.Server.Chemistry.Components
var handSys = _sysMan.GetEntitySystem<SharedHandsSystem>();
var solSys = _sysMan.GetEntitySystem<SolutionContainerSystem>();
pillAmount = Math.Clamp(pillAmount, 0, MaxEntitySpawns);
bottleAmount = Math.Clamp(bottleAmount, 0, MaxEntitySpawns);
if (action == UiAction.CreateBottles)
{
var individualVolume = BufferSolution.TotalVolume / FixedPoint2.New(bottleAmount);