Skip to content

Commit

Permalink
fix: remove some leftover testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed Sep 1, 2021
1 parent e93e49a commit 441266e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/broadcast/spectateManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const generatePlaybackId = (broadcastId: string) => `spectate-${broadcastId}`;
export class SpectateManager extends EventEmitter {
private broadcastInfo: Record<string, BroadcastInfo> = {};
private wsConnection: connection | null = null;
private test = false;

public constructor() {
super();
Expand Down Expand Up @@ -87,11 +86,6 @@ export class SpectateManager extends EventEmitter {
* Connects to the Slippi server and the local Dolphin instance
*/
public async connect(authToken: string) {
if (this.test) {
return;
}
this.emit(SpectateEvent.RECONNECT);
this.test = true;
if (this.wsConnection) {
return;
}
Expand Down

0 comments on commit 441266e

Please sign in to comment.