When changing the troops that are allocated to a general, you must first confirm this with a click on the OK button, before you can attack a camp with your new troop allocation. If you forget the OK button, but attack a camp immediately after your adjustment, you will attack with your old troop allocation.
This can be a very expensive mistake, because you can loose a lot of troops. I lost this way 200 cavalary (and probaly more troops)
So confirm automaticly the troop adjustment when an user pushes the attack button.
Or at least disable the attack button when an user has adjusted the troop allocation and not yet confirmed it with the OK button.