Fix fire extinguisher to use spray solution (#4616)
* Fix fire extinguisher to use spray solution * Fix FireExtinguisher more properly * Re-add missing check to VaporSystem
This commit is contained in:
@@ -66,12 +66,13 @@ namespace Content.Server.Chemistry.EntitySystems
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!_solutionContainerSystem.TryGetSolution(vapor.Owner, SharedVaporComponent.SolutionName, out _))
|
||||
if (!_solutionContainerSystem.TryGetSolution(vapor.Owner, SharedVaporComponent.SolutionName,
|
||||
out var vaporSolution))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return _solutionContainerSystem.TryAddSolution(vapor.Owner.Uid, vaporSolution, solution);
|
||||
}
|
||||
|
||||
public override void Update(float frameTime)
|
||||
|
||||
Reference in New Issue
Block a user