Skip to content

Commit 1fd19ae

Browse files
committed
add comment
1 parent 4806e87 commit 1fd19ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/simulation/BindingSimulator2D.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ export default class BindingSimulator implements IClientSimulatorImpl {
102102
}
103103

104104
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
105107
return (
106108
this.productColor.get(partnerId) || this.productColor.get(id) || ""
107109
);

0 commit comments

Comments
 (0)