dragonfly
dragonfly copied to clipboard
Feature/reset food saturation
Add reset the exhaustion and saturation when the Food Loss handler is cancelled. This help to prevent loss very fast the food after no longer cancelling that handler.
Example
https://github.com/user-attachments/assets/ab8d9917-2c1e-4568-9b98-7da8e6bbb1d2
race condition plz add mutex
Should it reset it to 0 or what it was before the last event was cancelled?