Return from TryMetabolize early if there are no reagents to process (#11372)
This commit is contained in:
@@ -115,7 +115,7 @@ namespace Content.Server.Body.Systems
|
|||||||
solutionEntityUid = uid;
|
solutionEntityUid = uid;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (solutionEntityUid == null || solution == null)
|
if (solutionEntityUid == null || solution == null || solution.Contents.Count == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// randomize the reagent list so we don't have any weird quirks
|
// randomize the reagent list so we don't have any weird quirks
|
||||||
|
|||||||
Reference in New Issue
Block a user