Fix a bug with targetsAttacked.
Travis finally is useful for once.