mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fixes hydroponics trays not updating sometimes (#22023)
* Update hydroponics.dm * Update hydroponics.dm
This commit is contained in:
@@ -113,6 +113,7 @@
|
|||||||
adjustWeeds(-0.5 * delta_time)
|
adjustWeeds(-0.5 * delta_time)
|
||||||
adjustPests(-0.5 * delta_time)
|
adjustPests(-0.5 * delta_time)
|
||||||
adjustToxic(-2)
|
adjustToxic(-2)
|
||||||
|
needs_update = TRUE
|
||||||
|
|
||||||
if(world.time > (lastcycle + cycledelay))
|
if(world.time > (lastcycle + cycledelay))
|
||||||
lastcycle = world.time
|
lastcycle = world.time
|
||||||
@@ -214,8 +215,8 @@
|
|||||||
else
|
else
|
||||||
weedinvasion() // Weed invasion into empty tray
|
weedinvasion() // Weed invasion into empty tray
|
||||||
needs_update = 1
|
needs_update = 1
|
||||||
if (needs_update)
|
if(needs_update)
|
||||||
update_appearance(UPDATE_ICON)
|
update_appearance(UPDATE_ICON)
|
||||||
return
|
return
|
||||||
|
|
||||||
/obj/machinery/hydroponics/proc/nutrimentMutation()
|
/obj/machinery/hydroponics/proc/nutrimentMutation()
|
||||||
|
|||||||
Reference in New Issue
Block a user