Cancelling undeploy item w/ undeploy button

Summary:

Steps to reproduce:

  1. Undeploy an item using the undeploy icon |38x38.5
  2. Immediately cancel it by hitting the same icon again

Expected Results:

The arrow above the item you undeployed disappears; the action is cancelled

Actual Results:

The arrow above the item you undeployed disappears; the action is performed anyways

Notes:

You can cancel an undeploy using the “Cancel Task” icon

Version Number and Mods in use:

a17. 610

1 Like

I could reproduce it with latest version.

I’m not sure if the bug is that the undeploy icon above disappears but the item is undeployed anyway, or that clicking a second time the button shouldn’t cancel the task (to cancel the move command you have to right-click elsewhere, but since it’s a different command I’m not sure about the expected behavior).

http://discourse.stonehearth.net/t/dev-3010-cant-cancel-removal-of-ladder/23093

I think it would actually cancel the action if it had time to notify the hearthlings about it. What happens is that when you click the second time, one hearthling was already on his way to grab the item.
So yeah, it would be better if the hearthlings understands that and cancel his action