Skip to content

Commit

Permalink
[MIRROR] Hydrotray consumes nutrients disregarding the mixture conten…
Browse files Browse the repository at this point in the history
…ts [MDB IGNORE] (#703)

* Hydrotray consumes nutrients disregarding the mixture contents (#79794)

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Andrew <[email protected]>
  • Loading branch information
3 people authored Nov 19, 2023
1 parent 2fa89eb commit b55a3ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/hydroponics/hydroponics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,9 @@
// Nutrients deplete at a constant rate, since new nutrients can boost stats far easier.
apply_chemicals(lastuser?.resolve())
if(self_sustaining)
reagents.remove_any(min(0.5, nutridrain))
reagents.remove_all(min(0.5, nutridrain))
else
reagents.remove_any(nutridrain)
reagents.remove_all(nutridrain)

// Lack of nutrients hurts non-weeds
if(reagents.total_volume <= 0 && !myseed.get_gene(/datum/plant_gene/trait/plant_type/weed_hardy))
Expand Down

0 comments on commit b55a3ab

Please sign in to comment.