Electrolysis and Centrifuge (#22517)

* electrolysis and centrifuge

* sprote

* final

* bomp!

* COUGH COUGH SPROTE

* boarsd
This commit is contained in:
Nemanja
2023-12-15 04:52:46 -05:00
committed by GitHub
parent 0349c53d0c
commit 2455980090
27 changed files with 478 additions and 4 deletions

View File

@@ -112,7 +112,8 @@ namespace Content.Shared.Chemistry.Reaction
{
lowestUnitReactions = FixedPoint2.Zero;
return false;
} else if(solution.Temperature > reaction.MaximumTemperature)
}
if (solution.Temperature > reaction.MaximumTemperature)
{
lowestUnitReactions = FixedPoint2.Zero;
return false;
@@ -126,7 +127,7 @@ namespace Content.Shared.Chemistry.Reaction
}
var attempt = new ReactionAttemptEvent(reaction, solution);
RaiseLocalEvent(owner, attempt, false);
RaiseLocalEvent(owner, attempt);
if (attempt.Cancelled)
{
lowestUnitReactions = FixedPoint2.Zero;