mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
[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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user