Food Healing Doesn't Refresh Properly

Game mode: Private Testlive | Singleplayer
Problem: Bug
Crash dump link:

  1. If you eat food as the effect from a previously eaten piece starts wearing off, or immediately afterward, you will not receive any healing. You have to wait about 2 seconds after the effect ends before you can receive healing from more food.

  2. If you eat food ‘before’ the effect from a previously eaten piece wears off, you will not receive the correct healing if the second piece was better. E.g. Eat a piece that heals 10 HP, then eat a piece that heals 100 HP before it wears off, the effect refreshes but only heals 10 HP instead of 100.

Repro steps:

  1. Eat food.
  2. Eat more food.