Fixes D2K AI constantly repairing weather damage.

Closes #6149.