mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[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:
@@ -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