bugfix to naval counter-attack

if unit is marked as done counter-attack before defending unit does it it can't counter-attack on that again