Okay, it took some time, but I think I found the problem. Essentially, once one ship needed a target update, it would turn on a flag to get udpated... and then the for-loop would stay with that flag 'on'. (meaning all other ships would think they needed the same update even if they didn't) The flag reset to 'off/false' was put outside the loop, accidentally.
I think this will stop target 'greediness' and *I think* this will also solve the other problem of bad IR locks. I believe the bad IR locks were happening because you had a valid lock, but then an incorrect, greedy lock overwrote it.
This won't fix the current bad locks; I'll have to look through and edit them manually, but I think it will fix the greediness into the future, as well as self-correct any future locks.
I think this will stop target 'greediness' and *I think* this will also solve the other problem of bad IR locks. I believe the bad IR locks were happening because you had a valid lock, but then an incorrect, greedy lock overwrote it.
This won't fix the current bad locks; I'll have to look through and edit them manually, but I think it will fix the greediness into the future, as well as self-correct any future locks.