Skip to content

Commit

Permalink
fix: crash when .presetFileExtension was not present in mixerprotocol
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon authored and olzzon committed Jun 15, 2020
1 parent 93b4ca7 commit 616c954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils/MixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class MixerGenericConnection {
}

getPresetFileExtention(): string {
return this.mixerProtocol.presetFileExtension
return this.mixerProtocol.presetFileExtension || ''
}

loadMixerPreset(presetName: string) {
Expand Down

0 comments on commit 616c954

Please sign in to comment.