Block unit upgrades when damaged

Grr I hate when i have to xfer money while attackign cause a unit was
upgraded