Skip to content

Commit

Permalink
don't fallthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed May 11, 2021
1 parent fc2d7bc commit a7b5ae5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/console/dolphinConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ export class DolphinConnection extends EventEmitter implements Connection {
this._handleReplayData(gameData);
break;
}
case DolphinMessageType.START_GAME:
case DolphinMessageType.START_GAME: {
this._updateCursor(message, dataString);
break;
}
case DolphinMessageType.END_GAME: {
this._updateCursor(message, dataString);
break;
Expand Down

0 comments on commit a7b5ae5

Please sign in to comment.