I've recently discovered a bug in a countermeasure system.
When ships with different countermeasure type set are available to player in a mission, the player will always use the countermeasure which is assigned to default player ship in that mission.
For example: There's a mission with two ships available to the player: A and B. Both of them have different CM type. A is the default one (not in table, in just mission).
Now, what should happen: If player choses ship A, then it will use countermeasure A and if he choses ship B, he'll be using CM type B.
Unfortunately, currently CM type A will be used by player no matter which ship he choses.
I would provide a test mission, but there's a problem: Data required for a mod in which I encouncered this problem is exclusive to Wings of Dawn, so I can't just post it here.
I'll soon put together a demo using MVPs ships that shows the problem, it would be great if somebody took a look at it, since it's going to be a problem for all mods with multiple custom CMs.