mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 09:04:13 +02:00
fix parsing user info
This commit is contained in:
parent
1c33058cb4
commit
a36208c693
4 changed files with 19 additions and 20 deletions
|
|
@ -63,7 +63,7 @@ export function CreateStringTable(stream: BitStream, match: Match): Packet { //
|
|||
|
||||
match.stringTables.push(table);
|
||||
return {
|
||||
packetType: 'createStringTable',
|
||||
table: table
|
||||
packetType: 'stringTable',
|
||||
tables: [table]
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,11 +89,6 @@ export function PacketEntities(stream: BitStream, match: Match): Packet { //26:
|
|||
const end = stream.index + length;
|
||||
let entityId = -1;
|
||||
|
||||
// stream.index = end;
|
||||
// return {
|
||||
// packetType: 'packetEntities'
|
||||
// };
|
||||
|
||||
if (updatedBaseLine) {
|
||||
if (baseLine === 0) {
|
||||
match.instanceBaselines[1] = match.instanceBaselines[0];
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ export function UpdateStringTable(stream: BitStream, match: Match): Packet { //
|
|||
parseStringTable(data, table, changedEntries, match);
|
||||
|
||||
return {
|
||||
packetType: 'updateStringTable',
|
||||
table: table
|
||||
packetType: 'stringTable',
|
||||
tables: [table]
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue