Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeKuwait committed Aug 11, 2023
1 parent c9f6d6c commit 229a672
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/hydroponics/hydro_tray.dm
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@
plant_health += (nutrilevel < 2 ? -healthmod : healthmod)
if(seed.requires_water && prob(35))
plant_health += (waterlevel < 10 ? -healthmod : healthmod)
if(nutrilevel < 2)
plant_health = 0

// Check that pressure, heat and light are all within bounds.
// First, handle an open system or an unconnected closed system.
Expand Down

0 comments on commit 229a672

Please sign in to comment.