Fixed bug with settting attack troops from input.