Skip to content

Commit

Permalink
stop ingame module from disenabling when no game is connected
Browse files Browse the repository at this point in the history
  • Loading branch information
Himyu committed Nov 25, 2023
1 parent 384ff59 commit ea20e88
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions electron/module/InGameApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ export class InGameApi {
if ((e as FetchError).code && (e as FetchError).code === "ECONNREFUSED") {
Sender.emit(this.id, 1)
} else {
this.disconnect()

this.logger.error(e)
Sender.emit('error', {
color: "danger",
Expand Down

0 comments on commit ea20e88

Please sign in to comment.