Solution rejig (#12428)
This commit is contained in:
@@ -117,12 +117,12 @@ namespace Content.Server.Nutrition.EntitySystems
|
||||
|
||||
var inhaledSolution = _solutionContainerSystem.SplitSolution(uid, solution, smokable.InhaleAmount * _timer);
|
||||
|
||||
if (solution.TotalVolume == FixedPoint2.Zero)
|
||||
if (solution.Volume == FixedPoint2.Zero)
|
||||
{
|
||||
RaiseLocalEvent(uid, new SmokableSolutionEmptyEvent(), true);
|
||||
}
|
||||
|
||||
if (inhaledSolution.TotalVolume == FixedPoint2.Zero)
|
||||
if (inhaledSolution.Volume == FixedPoint2.Zero)
|
||||
continue;
|
||||
|
||||
// This is awful. I hate this so much.
|
||||
|
||||
Reference in New Issue
Block a user