[A22] Plants don't respond to undeploy UI

When undeploy UI is enabled for plants Hearthlings won’t pick them up.

Steps to reproduce:

  1. Edit .json file of a plant so "hide_undeploy_ui" is not set to true
  2. Launch the game and create a new world
  3. Order Hearthlings to undeploy the plant.

Expected Results:
Hearthlings move the plant to inventory.

Actual Results:
Plant keeps the ‘marked for undeploying’ flag forever. Hearthlings don’t even come close to it.

If plant is placed via Item Stamper it is undeployed correctly. For some reason the plants generated as part of the biome cannot be undeployed.


Version Number and Mods in use:
a22r737, no mods

System Information:
Windows 10, both .exe versions are vulnerable

If you edit a plant that was already in the game, it retains the old json. You need a new plant.