military_advisor_choose_build() calls dai_choose_diplomat_defensive() to have choice set by it. Many later considerations for the build target do not check what it has filled to the choice, but just overwrite the choice. This might be sensible behavior for defending military units when there's danger to overcome, but less so for defensive building when there's no danger.
military_advisor_choose_build() calls dai_choose_diplomat_defensive() to have choice set by it. Many later considerations for the build target do not check what it has filled to the choice, but just overwrite the choice. This might be sensible behavior for defending military units when there's danger to overcome, but less so for defensive building when there's no danger.