diff --git a/Content.Server/Nyanotrasen/Kitchen/EntitySystems/DeepFryerSystem.cs b/Content.Server/Nyanotrasen/Kitchen/EntitySystems/DeepFryerSystem.cs index 84157ed5f17..69cf6a99391 100644 --- a/Content.Server/Nyanotrasen/Kitchen/EntitySystems/DeepFryerSystem.cs +++ b/Content.Server/Nyanotrasen/Kitchen/EntitySystems/DeepFryerSystem.cs @@ -181,6 +181,7 @@ public FixedPoint2 GetWasteVolume(EntityUid uid, DeepFryerComponent component) /// public FixedPoint2 GetOilPurity(EntityUid uid, DeepFryerComponent component) { + if (component.Solution.Volume == 0) return 0; return GetOilVolume(uid, component) / component.Solution.Volume; }