Code formatting
Units now switch to melee weapons if in range