Fixed segfault when attacking the same coordinate twice in a row.