Skip to content

Commit e28afc5

Browse files
committed
feat: ignore obsolete 'compDef' tag
1 parent 4a4ce89 commit e28afc5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

electron/main/game/game.parser.ts

-2
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@ export class GameParserImpl implements GameParser {
366366
}
367367
break;
368368
case 'component':
369-
case 'compDef':
370369
// This is updated information about the current room.
371370
// Example: `<component id='room desc'>The hustle...</component>`.
372371
// In this example, the text would be 'The hustle...'.
@@ -500,7 +499,6 @@ export class GameParserImpl implements GameParser {
500499
});
501500

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

0 commit comments

Comments
 (0)