1
0
Fork 0
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:
Robin Appelman 2017-02-11 17:17:56 +01:00
commit a36208c693
4 changed files with 19 additions and 20 deletions

View file

@ -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]
};
}

View file

@ -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];

View file

@ -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]
};
}