Eating animation bug after loading

Summary: If a game is loaded while hearthling/s are eating between the game is saved, hearthling/s will stop their eating animation and stand inside their corresponding chair

Steps to reproduce:

  1. Save the game while some hearthlings are eating
  2. Load the game
  3. ???
  4. Profit

Expected Results: Continues eating

Actual Results: Stops eating

Notes:

  • The food stays and can be stored in inventory/storage by a hearthling
  • The one eating is not satisfied nor hungry (not fully tested)
  • This can be abuse if the food_is_eaten counter (how many “throw in mouth” animation will the hearthling do until the food disappears) resets back, then stored in inventory. Which does lead to, hearthling eating > save > load > hearthling doesn’t eat but not hurgry > food counter reset > store in inventory. resulting to no food is eaten but hearthlings are not hungry which means nothing is subtracted to the daily food requirement for the daily update.

Attachments:

Version Number and Mods in use: A22.5 w/ mods

System Information: potato that can run 20 hearthlings MAX

I couldn’t reproduce this in our internal branch, they might appear like those hearthlings in your picture for a second after loading, but they resume eating just fine.

We’ve done a bunch of refactoring in several places, so I think this might not happen for A23.