feat(player): back compat for tab id
This commit is contained in:
parent
5a0b93ee1b
commit
d9755a694d
2 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ export default class MFileReader extends RawMessageReader {
|
|||
}
|
||||
}
|
||||
|
||||
currentTab = ''
|
||||
currentTab = 'back-compatability'
|
||||
readNext(): Message & { _index?: number } | null {
|
||||
if (this.error || !this.hasNextByte()) {
|
||||
return null
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export default class MStreamReader {
|
|||
private t: number = 0
|
||||
private idx: number = 0
|
||||
|
||||
currentTab = ''
|
||||
currentTab = 'back-compatability'
|
||||
readNext(): Message & { _index: number } | null {
|
||||
let msg = this.r.readMessage()
|
||||
if (msg === null) { return null }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue