We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4806e87 commit 1fd19aeCopy full SHA for 1fd19ae
src/simulation/BindingSimulator2D.ts
@@ -102,6 +102,8 @@ export default class BindingSimulator implements IClientSimulatorImpl {
102
}
103
104
private getProductColor(id: number, partnerId: number) {
105
+ // one and only one of the agents should have a product color
106
+ // so the order here is not important
107
return (
108
this.productColor.get(partnerId) || this.productColor.get(id) || ""
109
);
0 commit comments