Update Automation.php

Troops double fix