Skip to content

Commit

Permalink
fix: slight blunder
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed Aug 6, 2023
1 parent 8d6f672 commit 0f7cef0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/dolphin/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ export class DolphinManager {
const instance = new DolphinInstance(dolphinPath);
this.netplayDolphinInstance = instance;
instance.on("close", async (exitCode) => {
if (launchType === DolphinLaunchType.NETPLAY) {
await this._updateLauncherSettings(launchType);
}
await this._updateLauncherSettings(launchType);
this.eventSubject.next({
type: DolphinEventType.CLOSED,
dolphinType: DolphinLaunchType.NETPLAY,
Expand All @@ -142,7 +140,6 @@ export class DolphinManager {
const instance = new PlaybackDolphinInstance(dolphinPath);
this.playbackDolphinInstances.set(instanceId, instance);
instance.on("close", async (exitCode) => {
await this._updateLauncherSettings(launchType);
this.eventSubject.next({
type: DolphinEventType.CLOSED,
dolphinType: DolphinLaunchType.PLAYBACK,
Expand Down

0 comments on commit 0f7cef0

Please sign in to comment.