From 71a5be9d73114c50bfded6c11482b1f5edadd2ce Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 19 Nov 2023 20:36:13 +0100 Subject: [PATCH] [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 :cl: fix: The aquarium auto-feeding feature now works correctly. /:cl: * [NO GBP] Fixes the aquarium reagent holder --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> --- code/modules/fishing/aquarium/aquarium.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/fishing/aquarium/aquarium.dm b/code/modules/fishing/aquarium/aquarium.dm index f0d5c7083ec..cf73325cb00 100644 --- a/code/modules/fishing/aquarium/aquarium.dm +++ b/code/modules/fishing/aquarium/aquarium.dm @@ -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()