This bug is in the soldier code: they should periodically check if their goal is still available and of the correct type and building type. It will likely not occure when you burn down the building as the code will then realize that there is no "building" there any more but another type of immovabe.
Note that this will likely also happen if the enemy decides to dismantle the building being attacked.
This bug is in the soldier code: they should periodically check if their goal is still available and of the correct type and building type. It will likely not occure when you burn down the building as the code will then realize that there is no "building" there any more but another type of immovabe.
Note that this will likely also happen if the enemy decides to dismantle the building being attacked.