Skip to content

Commit

Permalink
Fix - issue with peer connection, set an id for peerjs on creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Azmoria committed May 1, 2024
1 parent 40a7c13 commit 3d8dde4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PeerManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class PeerManager {
enabled = false;

/** @return {Peer} - our private reference to the peerjs object */
peer = new Peer();
peer = new Peer(`AboveVTT-${window.gameId}-${uuid()}`);

/** @return {PeerConnection[]} List of peers that we are connecting/connected to */
connections = [];
Expand Down

0 comments on commit 3d8dde4

Please sign in to comment.