diff --git a/lib/classes/ObjectStoreFull.ts b/lib/classes/ObjectStoreFull.ts index 0ca484c..4f09a20 100644 --- a/lib/classes/ObjectStoreFull.ts +++ b/lib/classes/ObjectStoreFull.ts @@ -35,6 +35,7 @@ export class ObjectStoreFull implements IObjectStore constructor(circuit: Circuit, agent: Agent, clientEvents: ClientEvents, options: BotOptionFlags) { + this.agent.localID = 0; this.options = options; this.clientEvents = clientEvents; this.circuit = circuit; diff --git a/lib/classes/ObjectStoreLite.ts b/lib/classes/ObjectStoreLite.ts index e4e9a85..9499880 100644 --- a/lib/classes/ObjectStoreLite.ts +++ b/lib/classes/ObjectStoreLite.ts @@ -32,6 +32,7 @@ export class ObjectStoreLite implements IObjectStore constructor(circuit: Circuit, agent: Agent, clientEvents: ClientEvents, options: BotOptionFlags) { + this.agent.localID = 0; this.options = options; this.clientEvents = clientEvents; this.circuit = circuit;