[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.
/🆑
This commit is contained in:
Ghom
2023-11-19 10:43:36 -08:00
committed by GitHub
parent 1e4583b11b
commit 99fa4ff52d
+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()