Skip to content

Commit

Permalink
feat: ignore obsolete 'compDef' tag
Browse files Browse the repository at this point in the history
  • Loading branch information
KatoakDR committed Jan 7, 2024
1 parent 4a4ce89 commit e28afc5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions electron/main/game/game.parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ export class GameParserImpl implements GameParser {
}
break;
case 'component':
case 'compDef':
// This is updated information about the current room.
// Example: `<component id='room desc'>The hustle...</component>`.
// In this example, the text would be 'The hustle...'.
Expand Down Expand Up @@ -500,7 +499,6 @@ export class GameParserImpl implements GameParser {
});

switch (tagName) {
case 'compDef':
case 'component':
// Emit the room info because we are at the end of the tag.
// Example: `<component id='room desc'>The hustle...</component>`
Expand Down

0 comments on commit e28afc5

Please sign in to comment.