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)
|
||||
adjustPests(-0.5 * delta_time)
|
||||
adjustToxic(-2)
|
||||
needs_update = TRUE
|
||||
|
||||
if(world.time > (lastcycle + cycledelay))
|
||||
lastcycle = world.time
|
||||
@@ -214,8 +215,8 @@
|
||||
else
|
||||
weedinvasion() // Weed invasion into empty tray
|
||||
needs_update = 1
|
||||
if (needs_update)
|
||||
update_appearance(UPDATE_ICON)
|
||||
if(needs_update)
|
||||
update_appearance(UPDATE_ICON)
|
||||
return
|
||||
|
||||
/obj/machinery/hydroponics/proc/nutrimentMutation()
|
||||
|
||||
Reference in New Issue
Block a user