reset outgoingCommandId on connect

This commit is contained in:
DavidVentura
2024-01-28 20:15:11 +01:00
parent 4fd3cb9125
commit 3a34b60734
+1
View File
@@ -133,4 +133,5 @@ s.eventEmitter.on("audio", (frame: Buffer) => {
s.eventEmitter.on("connect", (name: string) => { s.eventEmitter.on("connect", (name: string) => {
console.log(`Connected to ${name}`); console.log(`Connected to ${name}`);
s.outgoingCommandId = 0;
}); });