[MIRROR] [NO GBP] Fixes the aquarium reagent holder [MDB IGNORE] (#25123)

* [NO GBP] Fixes the aquarium reagent holder (#79733)

## About The Pull Request
The auto-feeding mechanic wasn't working correctly due to bad logic.

## Why It's Good For The Game
Fixing an issue which is my fault.

## Changelog

🆑
fix: The aquarium auto-feeding feature now works correctly.
/🆑

* [NO GBP] Fixes the aquarium reagent holder

---------

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-11-19 14:36:13 -05:00
committed by GitHub
co-authored by Ghom
parent e7486496b9
commit 68b58cd630
+1 -1
View File
@@ -79,7 +79,7 @@
if(!reagents.total_volume)
RegisterSignal(reagents, COMSIG_REAGENTS_NEW_REAGENT, PROC_REF(start_autofeed))
return PROCESS_KILL
if(world.time + feeding_interval > last_feeding)
if(world.time < last_feeding + feeding_interval)
return
last_feeding = world.time
var/list/fishes = get_fishes()