Skip to content

Commit

Permalink
[MIRROR] [NO GBP] Fixes the aquarium reagent holder [MDB IGNORE] (#25…
Browse files Browse the repository at this point in the history
…123)

* [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 <[email protected]>
  • Loading branch information
2 people authored and FFMirrorBot committed Nov 19, 2023
1 parent 53a5d04 commit 71a5be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/fishing/aquarium/aquarium.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 71a5be9

Please sign in to comment.