bodged a fix for the targetting computer getting nullrefs