Skip to content

Commit

Permalink
fix unit-integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Irev-Dev committed Aug 4, 2024
1 parent be48736 commit a4572d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lang/std/engineConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ class EngineConnection extends EventTarget {
default:
if (this.isConnecting()) break
// Means we never could do an initial connection. Reconnect everything.
if (!this.pingPongSpan.ping) this.connect()
if (!this.pingPongSpan.ping)
this.connect(this.engineCommandManager.disableWebRTC ? true : false)
break
}
}, pingIntervalMs)
Expand Down

0 comments on commit a4572d7

Please sign in to comment.