Skip to content

Commit e569be5

Browse files
committed
fix: tag name to capture vitals
1 parent 6639e53 commit e569be5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electron/main/game/game.parser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export class GameParserImpl implements GameParser {
463463
case 'dir': // <dir value="e"/>
464464
this.compassDirections.push(attributes.value);
465465
break;
466-
case 'vitals': // <progressBar id="mana" value="100"/>
466+
case 'progressBar': // <progressBar id="mana" value="100"/>
467467
this.emitVitalsGameEvent({
468468
vitalId: attributes.id,
469469
value: parseInt(attributes.value),

0 commit comments

Comments
 (0)