That's a dealbreaker for me as many weapons are excellent against fighters and should be used against them - and PD weapons are distracted by flares.
Yes, I'm aware it's not a change that suits all play styles. It's simillar case to changed Needler AI, where the weapon attacks only shields.
I don't want to roll the change back. Not yet, anyway. Main weapons attacking fighters is one of the vanilla behaviors that I find frustrating and which ultimately motivated me to write this mod. I use the modded AI in my own playthroughs. But your point is noted.
What I can propose for now is adding ANTI_FTR tag to non-PD weapons you want to use against fighters. I already did that to IR Autolance. The long-term solution is integration with Advanced Gunnery control. AGC can already override my AI, just as it can override vanilla AI, but proper intagration will require some work.